-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
73 lines (65 loc) · 1.88 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
; 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]
default_envs = PandaMicTx
src_dir = ./example/${platformio.default_envs}
[env]
platform = espressif32 @ 6.9.0
board = m5stick-c
framework = arduino
monitor_speed = 115200
[env:userdemo]
board_build.partitions = huge_app.csv
build_flags =
-DCORE_DEBUG_LEVEL=0
lib_deps =
kosme/arduinoFFT @ ^1.6.1
z3t0/IRremote @ ^4.2.0
m5stack/M5GFX @ ^0.1.11
[env:PandaMicTxMiniUI]
board_build.partitions = partitions_PandaMicTx.csv
lib_deps =
m5stack/M5GFX @ ^0.1.11
sstaub/Ticker@^4.1.0
rpolitex/ArduinoNvs@^2.5
bblanchon/ArduinoJson@^6.17.3
build_flags =
-DDISABLE_ALL_LIBRARY_WARNINGS=0
-DCORE_DEBUG_LEVEL=5
[env:PandaMicTxUI]
board_build.partitions = partitions_PandaMicTx.csv
lib_deps =
m5stack/M5GFX @ ^0.1.11
sstaub/Ticker@^4.1.0
rpolitex/ArduinoNvs@^2.5
bblanchon/ArduinoJson@^6.17.3
build_flags =
-DDISABLE_ALL_LIBRARY_WARNINGS=0
-DCORE_DEBUG_LEVEL=5
[env:PandaMicTx]
board_build.partitions = partitions_PandaMicTx.csv
lib_deps =
m5stack/M5GFX @ ^0.1.11
sstaub/Ticker@^4.1.0
rpolitex/ArduinoNvs@^2.5
bblanchon/ArduinoJson@^6.17.3
kosme/arduinoFFT @ ^1.6.1
build_flags =
-DDISABLE_ALL_LIBRARY_WARNINGS=1
-DCORE_DEBUG_LEVEL=5
-DENABLE_CLASSIC=1
-DENABLE_BLE=1
-DENABLE_PRINTF_HEXDUMP=1
-DENABLE_INFO=1
-DENABLE_DEBUG=1
extra_scripts = post:example\${platformio.default_envs}\before_upload_script.py
extra_script_default_envs_path = example\${platformio.default_envs}
extra_script_nvs_size = 0x5000
extra_script_nvs_start = 0x9000