forked from letscontrolit/ESPEasy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio_esp32_envs.ini
572 lines (477 loc) · 24.2 KB
/
platformio_esp32_envs.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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
;;; ESP32 test build ********************************************************************;
; Status of the ESP32 support is still considered "beta" ;
; Most plugins work just fine on ESP32. ;
; Especially some plugins using serial may not run very well (GPS does run fine). ;
; ***************************************************************************************;
[esp32_base]
extends = common, core_esp32_IDF4_4__2_0_14
upload_speed = 460800
upload_before_reset = default_reset
upload_after_reset = hard_reset
extra_scripts = post:tools/pio/post_esp32.py
${extra_scripts_default.extra_scripts}
; you can disable debug linker flag to reduce binary size (comment out line below), but the backtraces will become less readable
; tools/pio/extra_linker_flags.py
; fix the platform package to use gcc-ar and gcc-ranlib to enable lto linker plugin
; more detail: https://embeddedartistry.com/blog/2020/04/13/prefer-gcc-ar-to-ar-in-your-buildsystems/
; pre:tools/pio/apply_patches.py
build_unflags = -Wall
; -fno-lto
build_flags = ${core_esp32_IDF4_4__2_0_14.build_flags}
; ${mqtt_flags.build_flags}
-DMQTT_MAX_PACKET_SIZE=2048
-DCONFIG_FREERTOS_ASSERT_DISABLE
-DCONFIG_LWIP_ESP_GRATUITOUS_ARP
-fno-strict-aliasing
; -flto
-Wswitch
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
monitor_filters = esp32_exception_decoder
lib_ignore =
${core_esp32_IDF4_4__2_0_14.lib_ignore}
[esp32_base_idf5]
extends = common, core_esp32_IDF5_1__3_0_0
upload_speed = 460800
upload_before_reset = default_reset
upload_after_reset = hard_reset
extra_scripts = post:tools/pio/post_esp32.py
${extra_scripts_default.extra_scripts}
; you can disable debug linker flag to reduce binary size (comment out line below), but the backtraces will become less readable
; tools/pio/extra_linker_flags.py
; fix the platform package to use gcc-ar and gcc-ranlib to enable lto linker plugin
; more detail: https://embeddedartistry.com/blog/2020/04/13/prefer-gcc-ar-to-ar-in-your-buildsystems/
; pre:tools/pio/apply_patches.py
; When using LTO, make sure NOT to use -mtext-section-literals
; -mtext-section-literals may be required when building large builds
; However LTO cannot optimize builds with text section literals and thus will result in quite a lot larger builds (80k - 140k larger)
build_unflags = -Wall
-fno-lto
build_flags = ${core_esp32_IDF5_1__3_0_0.build_flags}
; ${mqtt_flags.build_flags}
-DMQTT_MAX_PACKET_SIZE=2048
-DCONFIG_FREERTOS_ASSERT_DISABLE
-DCONFIG_LWIP_ESP_GRATUITOUS_ARP
-fno-strict-aliasing
-flto=auto
-Wswitch
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
-DLWIP_IPV6=1
monitor_filters = esp32_exception_decoder
lib_ignore =
${core_esp32_IDF5_1__3_0_0.lib_ignore}
; -flto cannot be used for ESP32 C3!
; See: https://github.com/letscontrolit/ESPEasy/pull/3845#issuecomment-1014857366
; TD-er: 2022-01-20: Disabled for now as it also resulted in obscure linker errors on ESP32-S2 and ESP32 running custom builds.
;build_flags = ${esp32_base.build_flags}
; -flto
;build_unflags = ${esp32_base.build_unflags}
; -fexceptions
; -fno-lto
[esp32_always]
lib_ignore = ESP8266Ping
ESP8266HTTPUpdateServer
ESP8266WiFi
ESP8266WebServer
ESP8266mDNS
ESPEasy_ESP8266Ping
RABurton ESP8266 Mutex
TinyWireM
LittleFS_esp32
Adafruit NeoPixel
${esp32_base.lib_ignore}
[esp32_common]
extends = esp32_base
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
${no_ir.lib_ignore}
ESP32 BLE Arduino
build_flags = ${esp32_base.build_flags}
-DESP32_CLASSIC
extra_scripts = ${esp32_base.extra_scripts}
build_unflags = ${esp32_base.build_unflags}
-fexceptions
[esp32_common_LittleFS]
extends = esp32_base_idf5
build_flags = ${esp32_base_idf5.build_flags}
; -mtext-section-literals
-DESP32_CLASSIC
-DUSE_LITTLEFS
build_unflags = ${esp32_base_idf5.build_unflags}
extra_scripts = ${esp32_common.extra_scripts}
board_build.filesystem = littlefs
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
ESP32 BLE Arduino
${core_esp32_IDF5_1__3_0_0.lib_ignore}
[esp32_IRExt]
extends = esp32_common
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_BUILD_NORMAL_IRext
-DCOLLECTION_USE_RTTTL
extra_scripts = ${esp32_common.extra_scripts}
pre:tools/pio/ir_build_check.py
[esp32_custom_base]
extends = esp32_common
build_flags = ${esp32_common.build_flags}
-DPLUGIN_BUILD_CUSTOM
extra_scripts = ${esp32_common.extra_scripts}
pre:tools/pio/pre_custom_esp32.py
[esp32_custom_base_LittleFS]
extends = esp32_common_LittleFS
build_flags = ${esp32_common_LittleFS.build_flags}
-DPLUGIN_BUILD_CUSTOM
extra_scripts = ${esp32_common_LittleFS.extra_scripts}
pre:tools/pio/pre_custom_esp32.py
[env:custom_ESP32_4M316k]
extends = esp32_custom_base
board = esp32_4M
; [env:custom_ESP32_4M316k_LittleFS]
; extends = esp32_custom_base_LittleFS
; board = esp32_4M
[env:custom_ESP32_16M8M_LittleFS_ETH]
extends = esp32_custom_base_LittleFS
board = esp32_16M8M
board_upload.flash_size = 16MB
build_flags = ${esp32_custom_base_LittleFS.build_flags}
-DFEATURE_ETHERNET=1
[env:custom_IR_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DPLUGIN_BUILD_CUSTOM
-DPLUGIN_BUILD_IR
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
extra_scripts = ${esp32_common.extra_scripts}
pre:tools/pio/pre_custom_esp32_IR.py
pre:tools/pio/ir_build_check.py
[env:custom_ESP32_4M2M_NO_OTA_LittleFS_ETH]
extends = esp32_custom_base_LittleFS
board = esp32_4M2M
build_flags = ${esp32_custom_base_LittleFS.build_flags}
-DNO_HTTP_UPDATER
-DFEATURE_ETHERNET=1
[env:normal_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
lib_ignore = ${esp32_common.lib_ignore}
${no_ir.lib_ignore}
; [env:normal_ESP32_4M316k_LittleFS]
; extends = esp32_common_LittleFS
; board = esp32_4M
; lib_ignore = ${esp32_common_LittleFS.lib_ignore}
; ${no_ir.lib_ignore}
[env:collection_A_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_SET_COLLECTION_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_B_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_SET_COLLECTION_B_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_C_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_SET_COLLECTION_C_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_D_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_SET_COLLECTION_D_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_E_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_SET_COLLECTION_E_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_F_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_SET_COLLECTION_F_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_G_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_SET_COLLECTION_G_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_A_ESP32_IRExt_4M316k]
extends = esp32_IRExt
board = esp32_4M
build_flags = ${esp32_IRExt.build_flags}
-DPLUGIN_SET_COLLECTION_ESP32
[env:collection_B_ESP32_IRExt_4M316k]
extends = esp32_IRExt
board = esp32_4M
build_flags = ${esp32_IRExt.build_flags}
-DPLUGIN_SET_COLLECTION_B_ESP32
[env:collection_C_ESP32_IRExt_4M316k]
extends = esp32_IRExt
board = esp32_4M
build_flags = ${esp32_IRExt.build_flags}
-DPLUGIN_SET_COLLECTION_C_ESP32
[env:collection_D_ESP32_IRExt_4M316k]
extends = esp32_IRExt
board = esp32_4M
build_flags = ${esp32_IRExt.build_flags}
-DPLUGIN_SET_COLLECTION_D_ESP32
[env:collection_E_ESP32_IRExt_4M316k]
extends = esp32_IRExt
board = esp32_4M
build_flags = ${esp32_IRExt.build_flags}
-DPLUGIN_SET_COLLECTION_E_ESP32
[env:collection_F_ESP32_IRExt_4M316k]
extends = esp32_IRExt
board = esp32_4M
build_flags = ${esp32_IRExt.build_flags}
-DPLUGIN_SET_COLLECTION_F_ESP32
[env:collection_G_ESP32_IRExt_4M316k]
extends = esp32_IRExt
board = esp32_4M
build_flags = ${esp32_IRExt.build_flags}
-DPLUGIN_SET_COLLECTION_G_ESP32
[env:energy_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_ENERGY_COLLECTION
[env:display_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_DISPLAY_COLLECTION
[env:climate_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_CLIMATE_COLLECTION
[env:neopixel_ESP32_4M316k]
extends = esp32_common
board = esp32_4M
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DFEATURE_SD=1
-D PLUGIN_NEOPIXEL_COLLECTION
[env:custom_ESP32_4M316k_ETH]
extends = env:custom_ESP32_4M316k
build_flags = ${env:custom_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
[env:custom_ESP32_4M316k_LittleFS_ETH]
extends = esp32_custom_base_LittleFS
board = esp32_4M
build_flags = ${esp32_custom_base_LittleFS.build_flags}
-DFEATURE_ETHERNET=1
[env:custom_IR_ESP32_4M316k_ETH]
extends = env:custom_IR_ESP32_4M316k
build_flags = ${env:custom_IR_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
extra_scripts = ${env:custom_IR_ESP32_4M316k.extra_scripts}
[env:custom_IR_ESP32_16M8M_LittleFS_ETH]
extends = esp32_common_LittleFS
board = esp32_16M8M
board_upload.flash_size = 16MB
build_flags = ${esp32_common_LittleFS.build_flags}
-DPLUGIN_BUILD_CUSTOM
-DPLUGIN_BUILD_IR
-DFEATURE_ETHERNET=1
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
${esp32_common_LittleFS.lib_ignore}
extra_scripts = ${esp32_common.extra_scripts}
pre:tools/pio/pre_custom_esp32_IR.py
pre:tools/pio/ir_build_check.py
[env:normal_ESP32_4M316k_ETH]
extends = env:normal_ESP32_4M316k
build_flags = ${env:normal_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
[env:normal_ESP32_4M316k_LittleFS_ETH]
extends = esp32_common_LittleFS
board = esp32_4M
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
${esp32_common_LittleFS.lib_ignore}
${no_ir.lib_ignore}
build_flags = ${esp32_common_LittleFS.build_flags}
-DFEATURE_ETHERNET=1
[env:normal_ESP32_IRExt_4M316k_ETH]
extends = esp32_IRExt
board = esp32_4M
build_flags = ${esp32_IRExt.build_flags}
-DFEATURE_ETHERNET=1
[env:collection_A_ESP32_4M316k_ETH]
extends = env:collection_A_ESP32_4M316k
build_flags = ${env:collection_A_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
-DCOLLECTION_USE_RTTTL
[env:collection_B_ESP32_4M316k_ETH]
extends = env:collection_B_ESP32_4M316k
build_flags = ${env:collection_B_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
-DCOLLECTION_USE_RTTTL
[env:collection_C_ESP32_4M316k_ETH]
extends = env:collection_C_ESP32_4M316k
build_flags = ${env:collection_C_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
-DCOLLECTION_USE_RTTTL
[env:collection_D_ESP32_4M316k_ETH]
extends = env:collection_D_ESP32_4M316k
build_flags = ${env:collection_D_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
-DCOLLECTION_USE_RTTTL
[env:collection_E_ESP32_4M316k_ETH]
extends = env:collection_E_ESP32_4M316k
build_flags = ${env:collection_E_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
-DCOLLECTION_USE_RTTTL
[env:collection_F_ESP32_4M316k_ETH]
extends = env:collection_F_ESP32_4M316k
build_flags = ${env:collection_F_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
-DCOLLECTION_USE_RTTTL
[env:collection_G_ESP32_4M316k_ETH]
extends = env:collection_G_ESP32_4M316k
build_flags = ${env:collection_G_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
-DCOLLECTION_USE_RTTTL
[env:energy_ESP32_4M316k_ETH]
extends = env:energy_ESP32_4M316k
build_flags = ${env:energy_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
[env:display_ESP32_4M316k_ETH]
extends = env:display_ESP32_4M316k
build_flags = ${env:display_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
[env:climate_ESP32_4M316k_ETH]
extends = env:climate_ESP32_4M316k
build_flags = ${env:climate_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
[env:neopixel_ESP32_4M316k_ETH]
extends = env:neopixel_ESP32_4M316k
build_flags = ${env:neopixel_ESP32_4M316k.build_flags}
-DFEATURE_ETHERNET=1
; [env:collection_A_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_SET_COLLECTION_ESP32
; -DFEATURE_ETHERNET=1
; [env:collection_B_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_SET_COLLECTION_B_ESP32
; -DFEATURE_ETHERNET=1
; [env:collection_C_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_SET_COLLECTION_C_ESP32
; -DFEATURE_ETHERNET=1
; [env:collection_D_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_SET_COLLECTION_D_ESP32
; -DFEATURE_ETHERNET=1
; [env:collection_E_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_SET_COLLECTION_E_ESP32
; -DFEATURE_ETHERNET=1
; [env:collection_F_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_SET_COLLECTION_F_ESP32
; -DFEATURE_ETHERNET=1
; [env:collection_G_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_SET_COLLECTION_G_ESP32
; -DFEATURE_ETHERNET=1
; [env:energy_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_ENERGY_COLLECTION
; -DFEATURE_ETHERNET=1
; [env:display_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_DISPLAY_COLLECTION
; -DFEATURE_ETHERNET=1
; [env:climate_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -DPLUGIN_CLIMATE_COLLECTION
; -DFEATURE_ETHERNET=1
; [env:neopixel_ESP32_IRExt_4M316k_ETH]
; extends = esp32_IRExt
; board = esp32_4M
; build_flags = ${esp32_IRExt.build_flags}
; -D PLUGIN_NEOPIXEL_COLLECTION
; -DFEATURE_ETHERNET=1
; ESP32 MAX builds 16M flash ------------------------------
; A Lolin D32 PRO with 16MB Flash, allowing 4MB sketch size, and file storage using the default (SPIFFS) filesystem
[env:max_ESP32_16M1M]
extends = esp32_common
board = esp32_16M1M
board_upload.flash_size = 16MB
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_BUILD_MAX_ESP32
-DPLUGIN_BUILD_IR_EXTENDED
[env:max_ESP32_16M1M_ETH]
extends = env:max_ESP32_16M1M
build_flags = ${env:max_ESP32_16M1M.build_flags}
-DFEATURE_ETHERNET=1
; A Lolin D32 PRO with 16MB Flash, allowing 4MB sketch size, and file storage using LittleFS filesystem
[env:max_ESP32_16M8M_LittleFS_ETH]
extends = esp32_common_LittleFS
board = esp32_16M8M
board_upload.flash_size = 16MB
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
${esp32_common_LittleFS.lib_ignore}
build_flags = ${esp32_common_LittleFS.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DPLUGIN_BUILD_MAX_ESP32
-DPLUGIN_BUILD_IR_EXTENDED
-DFEATURE_ETHERNET=1
extra_scripts = ${esp32_common.extra_scripts}
board_build.filesystem = littlefs
; If you have a board with Ethernet integrated and 16MB Flash, then this configuration could be enabled, it's based on the max_ESP32_16M8M_LittleFS definition
; [env:max_ESP32_16M8M_LittleFS_ETH]
; extends = env:max_ESP32_16M8M_LittleFS
; board = ${env:max_ESP32_16M8M_LittleFS.board}
; build_flags = ${env:max_ESP32_16M8M_LittleFS.build_flags}
; -DFEATURE_ETHERNET=1