-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
290 lines (268 loc) · 8.4 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
; 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
[env:xiao_esp32s3_8d7f60]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = seeed_xiao_esp32s3
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
-DHOST8D7F60
board_build.filesystem = littlefs
; board_build.partitions = ${common.board_build.partitions}
upload_port = /dev/ttyACM1
lib_deps =
esphome/AsyncTCP-esphome@^1.2.2
esphome/ESPAsyncWebServer-esphome@^2.1.0
${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:esp32_39ea44]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = wemos_d1_mini32
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DHOST39EA44
board_build.partitions = ${common.board_build.partitions}
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:esp32_393c24]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = wemos_d1_mini32
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DHOST393C24
board_build.partitions = ${common.board_build.partitions}
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:esp32_540b40]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = firebeetle32
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DHOST540B40
board_build.partitions = ${common.board_build.partitions}
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:esp32_3607c8]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = wemos_d1_mini32
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DHOST3607C8
board_build.partitions = ${common.board_build.partitions}
lib_deps =
esphome/AsyncTCP-esphome@^1.2.2
esphome/ESPAsyncWebServer-esphome@^2.1.0
${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:xiao_esp32s3_8d6214]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = seeed_xiao_esp32s3
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
-DHOST8D6214
board_build.partitions = ${common.board_build.partitions}
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:xiao_esp32s3_8eb5d0]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = seeed_xiao_esp32s3
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
-DHOST8EB5D0
board_build.partitions = ${common.board_build.partitions}
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:xiao_esp32s3_7168c8]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = seeed_xiao_esp32s3
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
-DCORE_DEBUG_LEVEL=1 ; 5 is highest debug level
-DHOST7168C8
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
#-DBOARD_HAS_PSRAM
#-mfix-esp32-psram-cache-issue
; upload_protocol = espota
; upload_port = 192.168.118.85
board_build.partitions = min_spiffs.csv
lib_deps = ${common.lib_deps}
board_build.mcu = esp32s3
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:xiao_esp32s3_8ebab8]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = seeed_xiao_esp32s3
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
-DCORE_DEBUG_LEVEL=1 ; 5 is highest debug level
-DHOST8EBAB8
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
; upload_protocol = espota
; upload_port = 192.168.118.85
board_build.partitions = min_spiffs.csv
lib_deps = ${common.lib_deps}
board_build.mcu = esp32s3
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:esp32_368170]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = wemos_d1_mini32
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
-DCORE_DEBUG_LEVEL=5
-DHOST368170
; upload_protocol = espota
; upload_port = 192.168.118.98
board_build.partitions = min_spiffs.csv
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:esp32_7488f0]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = wemos_d1_mini32
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DHOST7488F0
board_build.partitions = min_spiffs.csv
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:ttgo_lora32_v161]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = ttgo-lora32-v1
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DHOSTTTGO_LORA32_161
board_build.partitions = min_spiffs.csv
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:ttgo_lora32_v13]
platform = ${common.platform}
platform_packages = ${common.platform_packages}
board = ttgo-lora32-v1
framework = arduino
monitor_speed = 115200
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags =
${common.build_flags}
-DHOSTTTGO_LORA32_13
board_build.partitions = min_spiffs.csv
lib_deps = ${common.lib_deps}
board_build.f_cpu = ${common.board_build.f_cpu}
board_build.f_flash = ${common.board_build.f_flash}
[env:esp01_a94a3b]
platform = espressif8266
board = esp01
framework = arduino
monitor_speed = 76800
lib_ldf_mode = deep ; #632 Fixes compiler error with OneBitDisplay library
board_build.f_cpu = 160000000L
board_build.f_flash = 80000000L
lib_deps =
adafruit/DHT sensor library @ ^1.4.6
adafruit/Adafruit Unified Sensor @ ^1.1.14
build_flags =
${common.build_flags}
-DHOSTA94A3B
-DTEMPOFFSET=-6.8 ; Offset in Deg F
-DPRESSOFFSET=1.0 ; offset in inHg
[common]
platform = https://github.com/platformio/platform-espressif32.git
platform_packages=
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.1
framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.1/esp32-arduino-libs-3.0.1.zip
lib_ldf_mode = deep
build_flags =
-DCORE_DEBUG_LEVEL=5
lib_deps =
knolleary/PubSubClient@^2.8
jgromes/RadioLib@^6.3.0
bblanchon/ArduinoJson@^7.0.3
makuna/RTC @ ^2.3.7
adafruit/Adafruit NeoPixel @ ^1.12.0
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
board_build.partitions = min_spiffs.csv
[platformio]
description = Arduino FW ESP32 FDRS Test
default_envs =
; xiao_esp32s3_8d6214 ;; WiFi to serial gateway 0x20
; xiao_esp32s3_8eb5d0 ;; Serial to ESP-NOW Gateway 0x21
; esp32_39ea44 ;; ESP-NOW to Lora Gateway 0x22
; esp32_393c24 ;; Lora to Lora Gateway 0x23
; esp32_7488f0 ;; ESP-NOW controller addr 85
; xiao_esp32s3_8ebab8 ;; ESP-NOW sensor addr 87
; esp01_a94a3b ;; ESP-NOW Sensor addr 88
; esp32_368170 ;; LoRa Sensor addr 0x90
ttgo_lora32_v161 ;; LoRa Sensor addr 0x91
; ttgo_lora32_v13 ;; LoRa Sensor addr 0x92
; esp32_540b40
; esp32_3607c8
; xiao_esp32s3_8d7f60