-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
58 lines (50 loc) · 1.62 KB
/
Copy pathplatformio.ini
File metadata and controls
58 lines (50 loc) · 1.62 KB
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
50
51
52
53
54
55
56
57
; 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.1\"
[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.0\"
[env:breadboard]
board = upesy_wroom
build_flags = ${env.build_flags} -DBOARD_BREADBOARD