-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
50 lines (44 loc) · 1.29 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
; 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 = esp32-pcb
[env]
extra_scripts = build_hooks.py
framework = arduino
platform = espressif32@6.1.0
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
-DNOISEMETER_VERSION=\"0.2.2\"
-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
[env:esp32-pcb]
board = esp32-c3-devkitm-1
board_build.f_cpu = 80000000L
board_build.f_flash = 80000000L
board_build.flash_mode = qio
build_flags = ${env.build_flags} -DBOARD_ESP32_PCB
[env:esp32-breadboard]
board = upesy_wroom
build_flags = ${env.build_flags} -DBOARD_ESP32_BREADBOARD