forked from letscontrolit/ESPEasy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio_esp82xx_envs.ini
771 lines (641 loc) · 32.4 KB
/
platformio_esp82xx_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
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
;;; Custom builds *****************************************************
; Use either the plugins defined in ;
; pre_custom_esp82xx.py or Custom.h ;
; *********************************************************************
[limited_build_size]
build_flags = -DNO_GLOBAL_MDNS
[hard_esp82xx]
lib_ignore = ${core_stage.lib_ignore}
platform = ${core_stage.platform}
platform_packages = ${core_stage.platform_packages}
build_flags = ${core_stage.build_flags}
-DBUILD_NO_DEBUG
-DPLUGIN_BUILD_CUSTOM
-DFEATURE_DEFINE_SERIAL_CONSOLE_PORT=0
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
[esp8266_custom_common_274]
build_flags = ${core_2_7_4.build_flags}
platform = ${core_2_7_4.platform}
platform_packages = ${core_2_7_4.platform_packages}
lib_ignore = ESP32_ping
ESP32WebServer
ESP32HTTPUpdateServer
ServoESP32
${no_ir.lib_ignore}
TinyWireM
I2C AXP192 Power management
EspSoftwareSerial
LittleFS
LittleFS(esp8266)
extra_scripts = pre:tools/pio/pre_custom_esp82xx.py
${extra_scripts_esp8266.extra_scripts}
[esp8266_custom_common_312]
build_flags = ${core_stage.build_flags}
platform = ${core_stage.platform}
platform_packages = ${core_stage.platform_packages}
lib_ignore = ESP32_ping
ESP32WebServer
ESP32HTTPUpdateServer
ServoESP32
${no_ir.lib_ignore}
TinyWireM
I2C AXP192 Power management
LittleFS
LittleFS(esp8266)
extra_scripts = pre:tools/pio/pre_custom_esp82xx.py
${extra_scripts_esp8266.extra_scripts}
; Custom: 4M1M version --------------------------
[env:custom_274_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${esp8266_custom_common_274.platform}
platform_packages = ${esp8266_custom_common_274.platform_packages}
build_flags = ${esp8266_custom_common_274.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ${esp8266_custom_common_274.lib_ignore}
extra_scripts = ${esp8266_custom_common_274.extra_scripts}
[env:custom_IR_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${ir.platform}
platform_packages = ${ir.platform_packages}
build_flags = ${ir.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_CUSTOM
-DPLUGIN_BUILD_IR
lib_ignore = ESP32_ping
ESP32WebServer
ServoESP32
ESP32HTTPUpdateServer
adafruit/Adafruit GFX Library@^1.11.1
LOLIN_EPD
Adafruit ILI9341 ESPEasy
adafruit/Adafruit BusIO
Adafruit NeoPixel
NeoPixelBus_wrapper
NeoPixelBus by Makuna
Adafruit NeoMatrix via NeoPixelBus
Adafruit Motor Shield V2 Library
Adafruit_ST77xx
Adafruit NeoMatrix
I2C AXP192 Power management
EspSoftwareSerial
extra_scripts = pre:tools/pio/pre_custom_esp82xx_IR.py
${extra_scripts_esp8266.extra_scripts}
pre:tools/pio/ir_build_check.py
[env:custom_IR_ESP8266_1M]
extends = esp8266_1M
platform = ${ir.platform}
platform_packages = ${ir.platform_packages}
build_flags = ${ir.build_flags}
${esp8266_1M.build_flags}
-D NO_HTTP_UPDATER
-DPLUGIN_BUILD_CUSTOM
-DPLUGIN_BUILD_IR
lib_ignore = ESP32_ping
ESP32WebServer
ServoESP32
ESP32HTTPUpdateServer
adafruit/Adafruit GFX Library@^1.11.1
LOLIN_EPD
Adafruit ILI9341 ESPEasy
adafruit/Adafruit BusIO
Adafruit NeoPixel
NeoPixelBus_wrapper
NeoPixelBus by Makuna
Adafruit NeoMatrix via NeoPixelBus
Adafruit Motor Shield V2 Library
Adafruit_ST77xx
Adafruit NeoMatrix
I2C AXP192 Power management
EspSoftwareSerial
extra_scripts = pre:tools/pio/pre_custom_esp82xx_IR.py
${extra_scripts_esp8266.extra_scripts}
pre:tools/pio/ir_build_check.py
[env:custom_312_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${esp8266_custom_common_312.platform}
platform_packages = ${esp8266_custom_common_312.platform_packages}
build_flags = ${esp8266_custom_common_312.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ${esp8266_custom_common_312.lib_ignore}
extra_scripts = ${esp8266_custom_common_312.extra_scripts}
[env:custom_beta_2ndheap_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${beta_platform_2ndheap.platform}
platform_packages = ${beta_platform_2ndheap.platform_packages}
build_flags = ${beta_platform_2ndheap.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ${esp8266_custom_common_312.lib_ignore}
extra_scripts = ${esp8266_custom_common_312.extra_scripts}
; Custom: 4M2M version -- SPIFFS --------------
[env:custom_312_ESP8266_4M2M]
extends = esp8266_4M2M
platform = ${esp8266_custom_common_312.platform}
platform_packages = ${esp8266_custom_common_312.platform_packages}
build_flags = ${esp8266_custom_common_312.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ${esp8266_custom_common_312.lib_ignore}
extra_scripts = ${esp8266_custom_common_312.extra_scripts}
; Custom: 4M2M version -- LittleFS --------------
; LittleFS is determined by using "LittleFS" in the pio env name
[env:custom_312_ESP8266_4M2M_LittleFS]
extends = esp8266_4M2M
platform = ${esp8266_custom_common_312.platform}
platform_packages = ${esp8266_custom_common_312.platform_packages}
build_flags = ${esp8266_custom_common_312.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ESP32_ping
ESP32WebServer
ESP32HTTPUpdateServer
ServoESP32
${no_ir.lib_ignore}
TinyWireM
I2C AXP192 Power management
extra_scripts = ${esp8266_custom_common_312.extra_scripts}
; Custom: 1M version --------------------------
[env:custom_274_ESP8266_1M]
extends = esp8266_1M
platform = ${esp8266_custom_common_274.platform}
platform_packages = ${esp8266_custom_common_274.platform_packages}
build_flags = ${esp8266_custom_common_274.build_flags}
${esp8266_1M.build_flags}
-D NO_HTTP_UPDATER
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ${esp8266_custom_common_274.lib_ignore}
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
extra_scripts = ${esp8266_custom_common_274.extra_scripts}
[env:custom_beta_ESP8266_1M]
extends = esp8266_1M
platform = ${beta_platform.platform}
platform_packages = ${beta_platform.platform_packages}
build_flags = ${beta_platform.build_flags}
${esp8266_1M.build_flags}
-D NO_HTTP_UPDATER
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ${esp8266_custom_common_312.lib_ignore}
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
extra_scripts = ${esp8266_custom_common_312.extra_scripts}
; Custom: 2M version --------------------------
[env:custom_274_ESP8266_2M256]
extends = espWroom2M256
platform = ${esp8266_custom_common_274.platform}
platform_packages = ${esp8266_custom_common_274.platform_packages}
build_flags = ${esp8266_custom_common_274.build_flags}
${espWroom2M256.build_flags}
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ${esp8266_custom_common_274.lib_ignore}
extra_scripts = ${esp8266_custom_common_274.extra_scripts}
;;; NORMAL (STABLE) ***************************************************
; normal version with stable plugins ;
; *********************************************************************
; NORMAL: 1024k version --------------------------
[env:normal_ESP8266_1M]
extends = esp8266_1M
platform = ${normal.platform}
platform_packages = ${normal.platform_packages}
build_flags = ${normal.build_flags}
${esp8266_1M.build_flags}
-D NO_HTTP_UPDATER
lib_ignore = ${normal.lib_ignore}
;[env:normal_312_ESP8266_1M]
;extends = esp8266_1M
;platform = ${core312_platform.platform}
;platform_packages = ${core312_platform.platform_packages}
;build_flags = ${core312_platform.build_flags}
; ${esp8266_1M.build_flags}
[env:normal_ESP8266_1M_VCC]
extends = esp8266_1M
platform = ${normal.platform}
platform_packages = ${normal.platform_packages}
build_flags = ${normal.build_flags}
${esp8266_1M.build_flags}
-D NO_HTTP_UPDATER
-D FEATURE_ADC_VCC=1
lib_ignore = ${normal.lib_ignore}
; NORMAL: 2048k WROOM02 version --------------------------
;[env:normal_WROOM02_2M]
;extends = espWroom2M
;platform = ${normal.platform}
;platform_packages = ${normal.platform_packages}
;build_flags = ${normal.build_flags}
; ${espWroom2M.build_flags}
; NORMAL: 2048k WROOM02 version 256k SPIFFS --------------------------
[env:normal_WROOM02_2M256]
extends = espWroom2M256
platform = ${normal.platform}
platform_packages = ${normal.platform_packages}
build_flags = ${normal.build_flags}
${espWroom2M256.build_flags}
lib_ignore = ${normal.lib_ignore}
; NORMAL: 4096k version --------------------------
[env:normal_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${normal.platform}
platform_packages = ${normal.platform_packages}
build_flags = ${normal.build_flags}
${esp8266_4M1M.build_flags}
lib_ignore = ${normal.lib_ignore}
[env:normal_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${normal.platform}
platform_packages = ${normal.platform_packages}
build_flags = ${normal.build_flags}
${esp8266_4M1M.build_flags}
-D FEATURE_ADC_VCC=1
-D NO_LIMIT_BUILD_SIZE
lib_ignore = ${normal.lib_ignore}
; NORMAL: 16M version --- LittleFS --------------
; LittleFS is determined by using "LittleFS" in the pio env name
[env:normal_beta_ESP8266_16M_LittleFS]
extends = esp8266_16M
platform = ${normal_beta.platform}
platform_packages = ${normal_beta.platform_packages}
build_flags = ${normal_beta.build_flags}
${esp8266_16M.build_flags}
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
lib_ignore = ESP32_ping
ESP32WebServer
ESP32HTTPUpdateServer
ServoESP32
${no_ir.lib_ignore}
TinyWireM
ESP8266SdFat
SD(esp8266)
SD
SDFS
ArduinoOTA
ESP8266mDNS
I2C AXP192 Power management
;;; Minimal ***********************************************************
; Minimal build size for OTA ;
; *********************************************************************
[minimal_OTA_domoticz]
build_flags = ${esp8266_1M_OTA.build_flags}
-DFEATURE_DOMOTICZ=1
[minimal_OTA_domoticz_MQTT]
build_flags = ${esp8266_1M_OTA.build_flags}
-DFEATURE_DOMOTICZ=1
-DFEATURE_NO_HTTP_CLIENT=1
[minimal_OTA_FHEM_HA]
build_flags = ${esp8266_1M_OTA.build_flags}
-DFEATURE_FHEM=1
-DFEATURE_HOMEASSISTANT_OPENHAB=1
-DFEATURE_NO_HTTP_CLIENT=1
[env:minimal_core_274_ESP8266_1M_OTA_Domoticz]
extends = esp8266_1M_OTA, core274_platform
build_flags = ${core274_platform.build_flags}
${minimal_OTA_domoticz.build_flags}
lib_ignore = ${core274_platform.lib_ignore}
[env:minimal_core_274_ESP8266_1M_OTA_Domoticz_MQTT]
extends = esp8266_1M_OTA, core274_platform
build_flags = ${core274_platform.build_flags}
${minimal_OTA_domoticz_MQTT.build_flags}
lib_ignore = ${core274_platform.lib_ignore}
[env:minimal_core_274_ESP8266_1M_OTA_FHEM_HA]
extends = esp8266_1M_OTA, core274_platform
build_flags = ${core274_platform.build_flags}
${minimal_OTA_FHEM_HA.build_flags}
lib_ignore = ${core274_platform.lib_ignore}
[env:minimal_core_312_ESP8266_1M_OTA_Domoticz]
extends = esp8266_1M_OTA, core312_platform
build_flags = ${core312_platform.build_flags}
${minimal_OTA_domoticz.build_flags}
build_unflags = ${core312_platform.build_unflags}
[env:minimal_core_312_ESP8266_1M_OTA_Domoticz_MQTT]
extends = esp8266_1M_OTA, core312_platform
build_flags = ${core312_platform.build_flags}
${minimal_OTA_domoticz_MQTT.build_flags}
build_unflags = ${core312_platform.build_unflags}
[env:minimal_core_312_ESP8266_1M_OTA_FHEM_HA]
extends = esp8266_1M_OTA, core312_platform
build_flags = ${core312_platform.build_flags}
${minimal_OTA_FHEM_HA.build_flags}
build_unflags = ${core312_platform.build_unflags}
;;; IR ***********************************************************
; IR builds ;
; *********************************************************************
; TD-er: disabled as it no longer fits in 1M builds
; Minimal IR: 1024k version --------------------------
; Build including IR libraries, including extended AC commands
; Minimal set of other plugins
;[env:minimal_IRext_ESP8266_1M]
;extends = esp8266_1M
;platform = ${ir.platform}
;platform_packages = ${ir.platform_packages}
;lib_ignore = ${ir.lib_ignore}
;build_flags = ${minimal_ir_extended.build_flags}
; ${esp8266_1M.build_flags}
;build_unflags = ${esp8266_1M_OTA.build_unflags} -DPLUGIN_BUILD_NORMAL_IR
;extra_scripts = ${esp8266_1M.extra_scripts}
; pre:tools/pio/ir_build_check.py
; Minimal IR: 4096k version --------------------------
; Build including IR libraries, INCLUDING extended AC commands
; Includes Extended IR AC commands (takes a lot more program space)
; 4M flash, 1M SPIFFS
[env:minimal_IRext_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${ir.platform}
platform_packages = ${ir.platform_packages}
lib_ignore = ${ir.lib_ignore}
build_flags = ${minimal_ir_extended.build_flags}
${esp8266_4M1M.build_flags}
extra_scripts = ${esp8266_4M1M.extra_scripts}
pre:tools/pio/ir_build_check.py
; 4M flash, 2M SPIFFS
[env:minimal_IRext_ESP8266_4M2M]
extends = esp8266_4M2M
platform = ${ir.platform}
platform_packages = ${ir.platform_packages}
lib_ignore = ${ir.lib_ignore}
build_flags = ${minimal_ir_extended.build_flags}
${esp8266_4M2M.build_flags}
extra_scripts = ${esp8266_4M2M.extra_scripts}
pre:tools/pio/ir_build_check.py
; NORMAL IR: 4096k version --------------------------
; Build including IR libraries, INCLUDING extended AC commands
; Includes Extended IR AC commands (takes a lot more program space)
; 4M flash, 2M SPIFFS
[env:normal_IRext_no_rx_ESP8266_4M2M]
extends = esp8266_4M2M
platform = ${ir.platform}
platform_packages = ${ir.platform_packages}
lib_ignore = ${ir.lib_ignore}
build_flags = ${normal_ir_extended_no_rx.build_flags}
${esp8266_4M2M.build_flags}
${limited_build_size.build_flags}
-DLIMIT_BUILD_SIZE
-DFEATURE_TARSTREAM_SUPPORT=0
; -DKEEP_RTTTL
extra_scripts = ${esp8266_4M2M.extra_scripts}
pre:tools/pio/ir_build_check.py
;;; COLLECTION *********************************************************
; additional plugins (and dependend code) that is grouped as COLLECTION ;
; Includes "normal" + "collection" plugins ;
; ***********************************************************************
[collection_ESP8266_4M1M]
extends = esp8266_4M1M, collection
build_flags = ${collection.build_flags}
${esp8266_4M1M.build_flags}
${limited_build_size.build_flags}
[env:collection_A_ESP8266_4M1M]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DCOLLECTION_USE_RTTTL
[env:collection_B_ESP8266_4M1M]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DPLUGIN_BUILD_COLLECTION_B
[env:collection_C_ESP8266_4M1M]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DPLUGIN_BUILD_COLLECTION_C
-DCOLLECTION_USE_RTTTL
[env:collection_D_ESP8266_4M1M]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DPLUGIN_BUILD_COLLECTION_D
-DCOLLECTION_USE_RTTTL
[env:collection_E_ESP8266_4M1M]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DPLUGIN_BUILD_COLLECTION_E
-DCOLLECTION_USE_RTTTL
[env:collection_F_ESP8266_4M1M]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DPLUGIN_BUILD_COLLECTION_F
-DCOLLECTION_USE_RTTTL
[env:collection_G_ESP8266_4M1M]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DPLUGIN_BUILD_COLLECTION_G
-DCOLLECTION_USE_RTTTL
; COLL: 4096k version + FEATURE_ADC_VCC ----------
[env:collection_A_ESP8266_4M1M_VCC]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=1
-DCOLLECTION_USE_RTTTL
[env:collection_B_ESP8266_4M1M_VCC]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=1
-DPLUGIN_BUILD_COLLECTION_B
[env:collection_C_ESP8266_4M1M_VCC]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=1
-DPLUGIN_BUILD_COLLECTION_C
-DCOLLECTION_USE_RTTTL
[env:collection_D_ESP8266_4M1M_VCC]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=1
-DPLUGIN_BUILD_COLLECTION_D
-DCOLLECTION_USE_RTTTL
[env:collection_E_ESP8266_4M1M_VCC]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=1
-DPLUGIN_BUILD_COLLECTION_E
-DCOLLECTION_USE_RTTTL
[env:collection_F_ESP8266_4M1M_VCC]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=1
-DPLUGIN_BUILD_COLLECTION_F
-DCOLLECTION_USE_RTTTL
[env:collection_G_ESP8266_4M1M_VCC]
extends = collection_ESP8266_4M1M
build_flags = ${collection_ESP8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=1
-DPLUGIN_BUILD_COLLECTION_G
-DCOLLECTION_USE_RTTTL
;;; Collection builds ************************************************
; Collection of similar plugins for a specific use case ;
; for example "Display", "energy meter" or "NeoPixel" ;
; *********************************************************************
; energy : 4096k version ----------------------------
[env:energy_ESP8266_4M1M]
extends = esp8266_4M1M, regular_platform
build_flags = ${regular_platform.build_flags}
${esp8266_4M1M.build_flags}
-D PLUGIN_ENERGY_COLLECTION
-D LIMIT_BUILD_SIZE
-D WEBSERVER_USE_CDN_JS_CSS
lib_ignore = ${regular_platform.lib_ignore}
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
extra_scripts = ${regular_platform.extra_scripts}
; display : 4096k version ----------------------------
[env:display_ESP8266_4M1M]
extends = esp8266_4M1M, regular_platform
build_flags = ${regular_platform.build_flags}
${esp8266_4M1M.build_flags}
-D BUILD_NO_DEBUG
-D PLUGIN_DISPLAY_COLLECTION
-D WEBSERVER_USE_CDN_JS_CSS
lib_ignore = ${regular_platform.lib_ignore}
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
; climate : 4096k version ----------------------------
[env:climate_ESP8266_4M1M]
extends = esp8266_4M1M, regular_platform
build_flags = ${regular_platform.build_flags}
${esp8266_4M1M.build_flags}
-D PLUGIN_CLIMATE_COLLECTION
-D KEEP_RTTTL
-D WEBSERVER_USE_CDN_JS_CSS
lib_ignore = ${regular_platform.lib_ignore}
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
; neopixel : 4096k version ----------------------------
[env:neopixel_ESP8266_4M1M]
extends = esp8266_4M1M, regular_platform
build_flags = ${regular_platform.build_flags}
${esp8266_4M1M.build_flags}
-D PLUGIN_NEOPIXEL_COLLECTION
-D LIMIT_BUILD_SIZE
lib_ignore = ${regular_platform.lib_ignore}
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
; neopixel : 1024k version ----------------------------
[env:neopixel_ESP8266_1M_Domoticz]
extends = esp8266_1M_OTA, regular_platform
build_flags = ${regular_platform.build_flags}
${esp8266_1M_OTA.build_flags}
${minimal_OTA_domoticz.build_flags}
-D PLUGIN_NEOPIXEL_COLLECTION
lib_ignore = ${regular_platform.lib_ignore}
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
[env:neopixel_ESP8266_1M_FHEM_HA]
extends = esp8266_1M_OTA, regular_platform
build_flags = ${regular_platform.build_flags}
${esp8266_1M_OTA.build_flags}
${minimal_OTA_FHEM_HA.build_flags}
-D PLUGIN_NEOPIXEL_COLLECTION
lib_ignore = ${regular_platform.lib_ignore}
ESP8266SdFat
SD(esp8266)
SD
SDFS
LittleFS(esp8266)
;;; HARDWARE SPECIFIC VERSIONS ***********************************************************
; versions specially designed to fit, and contents only needed plugins for each hardware ;
; ****************************************************************************************
; ITEAD Products
; ITEAD / SONOFF BASIC version ------------------
;[env:hard_SONOFF_BASIC_1M]
;extends = esp8266_1M, hard_esp82xx
;platform = ${hard_esp82xx.platform}
;platform_packages = ${hard_esp82xx.platform_packages}
;build_flags = ${hard_esp82xx.build_flags} ${esp8266_1M.build_flags} -D PLUGIN_SET_SONOFF_BASIC
; ITEAD / SONOFF TH10/TH16 version -------------------
;[env:hard_SONOFF_TH1x_1M]
;extends = esp8266_1M, hard_esp82xx
;platform = ${hard_esp82xx.platform}
;platform_packages = ${hard_esp82xx.platform_packages}
;build_flags = ${hard_esp82xx.build_flags} ${esp8266_1M.build_flags} -D PLUGIN_SET_SONOFF_TH1x
; ITEAD / SONOFF POW & POW R2 version --------------------
; Sonoff Pow (ESP8266 - HLW8012)
; GPIO00 Button
; GPIO05 HLW8012 Sel output
; GPIO12 Red Led and Relay (0 = Off, 1 = On)
; GPIO13 HLW8012 CF1 voltage / current
; GPIO14 HLW8012 CF power
; GPIO15 Blue Led (0 = On, 1 = Off)
; Sonoff Pow R2 (ESP8266 4M flash - CSE7766)
; GPIO00 Button
; GPIO01 Serial RXD 4800 baud 8E1 CSE7766 energy sensor
; GPIO03 Serial TXD
; GPIO12 Red Led and Relay (0 = Off, 1 = On)
; GPIO13 Blue Led (0 = On, 1 = Off)
[env:hard_SONOFF_POW_4M1M]
extends = esp8266_4M1M, hard_esp82xx
platform = ${core_2_7_4.platform}
platform_packages = ${core_2_7_4.platform_packages}
build_flags = ${core_2_7_4.build_flags}
${esp8266_4M1M.build_flags}
-DBUILD_NO_DEBUG
-DPLUGIN_BUILD_CUSTOM
-DPLUGIN_SET_SONOFF_POW
-DFEATURE_IMPROV=0
-DPLUGIN_STATS_NR_ELEMENTS=64
lib_ignore = ${esp8266_custom_common_274.lib_ignore}
; Build including power measurement plugins for those devices that have only 1M flash.
; For example those made by BlitzWolf SHP
[env:hard_other_POW_ESP8285_1M]
extends = esp8266_1M_OTA, hard_esp82xx
platform = ${hard_esp82xx.platform}
platform_packages = ${hard_esp82xx.platform_packages}
build_flags = ${hard_esp82xx.build_flags}
${esp8266_1M_OTA.build_flags}
-D PLUGIN_SET_SONOFF_POW
lib_ignore = ${hard_esp82xx.lib_ignore}
; Shelly1 Open Source (ESP8266-2MB)
; https://shelly.cloud/shelly1-open-source/
; GPIO04 Relay (non inverted)
; GPIO05 Button
[env:hard_Shelly_1_2M256]
extends = esp8266_2M256, hard_esp82xx
platform = ${hard_esp82xx.platform}
platform_packages = ${hard_esp82xx.platform_packages}
build_flags = ${hard_esp82xx.build_flags}
${esp8266_2M256.build_flags}
-D PLUGIN_SET_SHELLY_1
lib_ignore = ${hard_esp82xx.lib_ignore}
[env:hard_Shelly_PLUG_S_2M256]
extends = esp8266_2M256, hard_esp82xx
platform = ${hard_esp82xx.platform}
platform_packages = ${hard_esp82xx.platform_packages}
build_flags = ${hard_esp82xx.build_flags}
${esp8266_2M256.build_flags}
-D PLUGIN_SET_SHELLY_PLUG_S
lib_ignore = ${hard_esp82xx.lib_ignore}
; Ventus W266 weather station
; https://www.letscontrolit.com/wiki/index.php/VentusW266
[env:hard_Ventus_W266_1M]
extends = esp8266_1M, hard_esp82xx
platform = ${hard_esp82xx.platform}
platform_packages = ${hard_esp82xx.platform_packages}
build_flags = ${hard_esp82xx.build_flags}
${esp8266_1M_OTA.build_flags}
-D PLUGIN_SET_VENTUS_W266
lib_ignore = ${hard_esp82xx.lib_ignore}
[env:hard_LCtech_relay_x2_1M]
extends = esp8266_1M, hard_esp82xx
platform = ${hard_esp82xx.platform}
platform_packages = ${hard_esp82xx.platform_packages}
build_flags = ${hard_esp82xx.build_flags}
${esp8266_1M.build_flags}
-D NO_HTTP_UPDATER
-D PLUGIN_SET_LC_TECH_RELAY_X2
lib_ignore = ${hard_esp82xx.lib_ignore}