Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = noisemeter-device
include_dir = noisemeter-device
default_envs = rev4
[env]
extra_scripts = build_hooks.py
framework = arduino
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip
board_build.partitions = nmpartitions.csv
lib_deps =
bblanchon/ArduinoJson@^7.0.2
bakercp/CRC32@^2.0.0
build_unflags =
-std=gnu++11
build_flags =
-std=gnu++17
-DNO_GLOBAL_EEPROM
-Wall -Wextra
# Optional build flags:
# Print credentials over serial (for debugging):
# -DSTORAGE_SHOW_CREDENTIALS
# Print verbose API logging over serial (for debugging):
# -DAPI_VERBOSE
# Disable WiFi and data upload:
# -DUPLOAD_DISABLED
# v0.3.x is for pre-rev4 hardware (ESP32-C3)
# v0.4.x and beyond is for rev4 and later (ESP32-S3)
[env:rev4]
extra_scripts = build_hooks.py
board = esp32-s3-devkitm-1
board_build.f_cpu = 80000000L
build_flags = ${env.build_flags} -DBOARD_REV4 -DNOISEMETER_VERSION=\"0.4.2\"
[env:rev123]
extra_scripts = build_hooks.py
board = esp32-c3-devkitm-1
board_build.f_cpu = 160000000L
board_build.flash_mode = qio
build_flags = ${env.build_flags} -DBOARD_REV123 -DNOISEMETER_VERSION=\"0.3.2\"
[env:breadboard]
board = upesy_wroom
build_flags = ${env.build_flags} -DBOARD_BREADBOARD
b8134799cThis file is pinned to the selected release. Download the original to open it in your design tool.