-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
102 lines (92 loc) · 3.2 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
; 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 = heltec_wifi_kit_32
; default_envs = d1_mini
default_envs = lolin_d32
[common_env_data]
upload_speed = 460800
monitor_speed = 115200
framework = arduino
build_unflags =
build_flags =
-D LCBURL_MDNS
lib_deps =
extra_scripts =
build_type = debug
monitor_filters =
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = ${common_env_data.framework}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
build_unflags = ${common_env_data.build_unflags}
build_flags =
-DBAUD=${env:d1_mini.monitor_speed}
${common_env_data.build_flags}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
build_type = ${common_env_data.build_type}
monitor_filters =
${common_env_data.monitor_filters}
esp8266_exception_decoder
[env:lolin_d32]
platform = espressif32
board = lolin_d32
framework = ${common_env_data.framework}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
build_unflags = ${common_env_data.build_unflags}
build_flags =
-DBAUD=${env:lolin_d32.monitor_speed}
${common_env_data.build_flags}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps = ${common_env_data.lib_deps}
build_type = ${common_env_data.build_type}
monitor_filters =
${common_env_data.monitor_filters}
esp32_exception_decoder
[env:heltec_wifi_kit_32]
platform = espressif32
board = heltec_wifi_kit_32
framework = ${common_env_data.framework}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
build_unflags = ${common_env_data.build_unflags}
build_flags =
-DBAUD=${env:heltec_wifi_kit_32.monitor_speed}
${common_env_data.build_flags}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps = ${common_env_data.lib_deps}
build_type = ${common_env_data.build_type}
monitor_filters =
${common_env_data.monitor_filters}
esp32_exception_decoder
[env:heltec_wifi_kit_32_arduinov3]
platform = https://github.com/platformio/platform-espressif32.git
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.1/esp32-arduino-libs-idf-release_v5.1-632e0c2a.zip
board = heltec_wifi_kit_32
framework = ${common_env_data.framework}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
build_unflags = ${common_env_data.build_unflags}
build_flags =
-DBAUD=${env:heltec_wifi_kit_32.monitor_speed}
${common_env_data.build_flags}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps = ${common_env_data.lib_deps}
build_type = ${common_env_data.build_type}
monitor_filters =
${common_env_data.monitor_filters}
esp32_exception_decoder