-
Notifications
You must be signed in to change notification settings - Fork 15
/
platformio.ini
630 lines (600 loc) · 22.7 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
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
; Release v0.14.006
[platformio]
src_dir = .
data_dir = data
; build_dir = ${sysenv.TEMP}/pio-build/$PROJECT_HASH
default_envs = esp32dev, esp32dev_OLED, TTGO_TDISPLAY, TTGO_TDISPLAY_SANDWICH, TDISPLAY_S3, ttgo-t5-EINKBOARDDEPG0213BN, ttgo-t5-EINKBOARDGDEW0213M21, ttgo-t7-EINKBOARDGDEM029T94 ; Default environments to build
name = CO2 Gadget
description = An easy to build CO2 Monitor/Meter with Android and iOS App for real time visualization and charting of air data, data logger, a variety of communication options (BLE, WIFI, MQTT, ESP-Now) and many supported sensors.
extra_configs = platformio_extra_configs.ini
[version]
build_flags =
-D CO2_GADGET_VERSION="\"0.14."\"
-D CO2_GADGET_REV="\"006"\"
;****************************************************************************************
;*** You can disable features by commenting the line with a semicolon at the beginning
;*** of the line. Uncomment to enable the feature. Makes more memory available
;****************************************************************************************
[features]
build_flags =
-DSUPPORT_BLE
-DSUPPORT_BUZZER
; -DSUPPORT_ESPNOW
-DSUPPORT_MDNS
-DSUPPORT_MQTT
-DSUPPORT_MQTT_DISCOVERY
-DSUPPORT_OTA
;****************************************************************************************
;*** This will be deprecated. It's here only for backward compatibility.
;*** Default MQTT Broker and Discovery prefix for Home Assistant. You can set this
;*** directly in CO2 Gadget from the menu or the Web server. Don't need to set this here
;****************************************************************************************
[MQTT]
build_flags =
-D MQTT_BROKER_SERVER="\"192.168.1.145"\" ; MQTT Broker server
-DMQTT_DISCOVERY_PREFIX="\"homeassistant/\"" ; MQTT Discovery prefix for Home Assistant
;****************************************************************************************
;*** This is deprecated. It's here only for backward compatibility.
;*** Default ESP-NOW configuration. You can set this directly in CO2 Gadget from the menu
;*** or the Web server. Don't need to set this here
;****************************************************************************************
[ESPNOW]
build_flags =
-DESPNOW_PEER_MAC_ADDRESS="{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}" ; MAC Address of the ESP-NOW receiver (STA MAC). For unicast use peer address, as: {0xE8, 0x68, 0xE7, 0x0F, 0x08, 0x90}
-DESPNOW_WIFI_CH=1 ; ESP-NOW WiFi Channel. Must be same as gateway
;****************************************************************************************
;*** Hysteresis configuration
;****************************************************************************************
[HYSTERESIS]
build_flags =
-DPIN_HYSTERESIS=100 ; Hysteresis PPM to avoid pins going ON and OFF continuously. TODO : Minimum time to switch
-DBUZZER_HYSTERESIS=50 ; Hysteresis PPM to avoid BUZZER ON and OFF
;****************************************************************************************
;*** History configuration for MyAmbiance App (Android and iOS) and data logger
;****************************************************************************************
[HISTORY]
build_flags =
-DHISTORY_INTERVAL_MILISECONDS=60000 ; Interval in miliseconds to save history data for MyAmbiance (60000 = 1 minute)
-DHISTORY_RING_BUFFER_SIZE_BYTES=11520 ; Number of samples to keep in history for MyAmbiance. Try to save memory by using just what you need (recommended < 20000 for boards without PSRAM). 11520 bytes = 24 hours of data with 1 minute interval (each sample is 8 bytes)
;****************************************************************************************
;*** GPIO configuration. You override this in the environment specific data below
;****************************************************************************************
[GPIO]
build_flags =
-DBUZZER_PIN=2 ; ESP32 pin GPIO13 connected to piezo buzzer
-DNEOPIXEL_PIN=26 ; Pinnumber for button for down/next and back / exit actions
-DNEOPIXEL_COUNT=16 ; How many neopixels to control
-DADC_BATTERY_PIN=34 ; ADC GPIO PIN to read battery voltage
-DBLUE_PIN=32 ; GPIO to go HIGH on orange color range
-DBLUE_PIN_LOW=0
-DBLUE_PIN_HIGH=1 ; Should the BLUE_PIN_HIGH go high or low at threshold
-DRED_PIN=33 ; GPIO to go HIGH on red color range
-DRED_PIN_LOW=0
-DRED_PIN_HIGH=1 ; Should the RED_PIN_HIGH go high or low at threshold
;****************************************************************************************
;*** You can disable debug by commenting the line with a semicolon at the beginning
;*** of the line. Uncomment to enable the debug.
;****************************************************************************************
[debug]
build_flags =
; -DDEBUG_EINK
; -DDEBUG_NEOPIXEL
; -DDEBUG_PREFERENCES ; Print preferences to serial on load and save
; -DDEBUG_WIFI_EVENTS
; -DDEBUG_BLE
; -DDEBUG_IMPROV_WIFI
; -DDEBUG_CAPTIVE_PORTAL
; -DDEBUG_ARDUINOMENU
; -DMENU_DEBUG ; Needs streamFlow library
-DWIFI_PRIVACY ; Comment to show WiFi & MQTT passwords in pain text in serial and the menu (if active no passwords will be shown)
; -DTIMEDEBUG ; Show timing measurements debug in serial monitor
-DDISABLE_DIAGNOSTIC_OUTPUT ; Comment to show e-Ink display diagnostic output in serial monitor
-D CORE_DEBUG_LEVEL=0 ; 0=No debug, 1=Error, 2=Warning, 3=Info, 4=Debug, 5=Verbose
;****************************************************************************************
;*** Libraries to include in the project. You can add more libraries here
;****************************************************************************************
[LIBS]
lib_deps =
AsyncTCP
ESP Async WebServer
; esphome/AsyncTCP-esphome@^1.2.2
; esphome/ESPAsyncWebServer-esphome@^2.1.0
ayushsharma82/AsyncElegantOTA @ ^2.2.6
knolleary/PubSubClient @ ^2.8
bblanchon/ArduinoJson @ ^7.0.1
neu-rah/ArduinoMenu library @ ^4.21.4
lennarthennigs/Button2 @ ^1.6.5
https://github.com/melkati/arduino-i2c-scd4x.git#featureset
https://github.com/melkati/canairio_sensorlib.git#fixOffset
; https://github.com/Sensirion/arduino-upt-core.git
https://github.com/melkati/arduino-ble-gadget.git#historyInterval
https://github.com/melkati/Improv-WiFi-Library.git
rlogiacco/Battery Sense @ ^1.1.2
adafruit/Adafruit NeoPixel@^1.10.3
; neu-rah/streamFlow @ 0.0.0-alpha+sha.bf16ce8926 ; Needed for -D MENU_DEBUG
https://github.com/sstaub/Timer.git
;****************************************************************************************
;*** Compiler optimization flags
;*** -Os: Optimize compilation for use memory
;*** -w: Supress compilation warnings
;****************************************************************************************
[compiler]
build_flags =
-Os ; Optimize compilation for use memory
-w ; Supress compilation warnings
;****************************************************************************************
;*** Common data for all builds. You can override this data for each environment below
;****************************************************************************************
[common_env_data]
framework = arduino
upload_speed = 921600
monitor_speed = 115200
monitor_port = COM12
upload_port = COM12
monitor_filters = time, esp32_exception_decoder, colorize
board_build.partitions = CO2_Gadget_Partitions.csv ; Others in Windows at C:\Users\%USER%\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.5\tools\partitions
build_cache_dir = .pio/build
extra_scripts =
lib_ldf_mode = chain+
lib_deps =
${LIBS.lib_deps}
build_flags =
${version.build_flags}
${MQTT.build_flags}
${ESPNOW.build_flags}
${features.build_flags}
${debug.build_flags}
${GPIO.build_flags}
${HYSTERESIS.build_flags}
${HISTORY.build_flags}
${compiler.build_flags}
;****************************************************************************************
;*** Environment specific data. You can override the common data for each environment
;****************************************************************************************
[env:esp32dev]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
upload_port = ${common_env_data.upload_port}
monitor_port = ${common_env_data.monitor_port}
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
build_flags =
${common_env_data.build_flags}
-DBTN_UP=15 ; Pinnumber for button for up/previous and select / enter actions
-DBTN_DWN=0 ; Pinnumber for button for down/next and back / exit actions
-DUNITHOSTNAME="\"CO2-Gadget"\"
-DFLAVOUR="\"ESP32 BASIC"\"
;****************************************************************************************
;*** Environment specific data for Lilygo T5 boards
;****************************************************************************************
[t5-board-wiring_pins]
build_flags =
-DUART_RX_GPIO=15 ; Override default pin
-DUART_TX_GPIO=14 ; Override default pin
-DBTN_UP=-1 ; Pinnumber for button for up/previous and select / enter actions
-DBTN_DWN=-1 ; Pinnumber for button for down/next and back / exit actions
-DBTN_WAKEUP=39
-DBTN_WAKEUP_ON=LOW
-DADC_BATTERY_PIN=35
[t5-board-eink_pins]
build_flags =
-DEPD_SCLK=SCK
-DEPD_MISO=17
-DEPD_DC=17
-DEPD_MOSI=MOSI
-DEPD_CS=SS
-DEPD_RST=16
-DEPD_BUSY=4
;****************************************************************************************
;*** Environment specific data for Lilygo T7 boards
;****************************************************************************************
[t7-board-wiring_pins]
build_flags =
-DUART_RX_GPIO=15 ; Override default pin
-DUART_TX_GPIO=14 ; Override default pin
-DBTN_UP=-1 ; Pinnumber for button for up/previous and select / enter actions
-DBTN_DWN=-1 ; Pinnumber for button for down/next and back / exit actions
-DBTN_WAKEUP=39
-DBTN_WAKEUP_ON=LOW
-DADC_BATTERY_PIN=35
[t7-board-eink_pins]
build_flags =
-D EPD_SCLK=SCK
-D EPD_MISO=17
-D EPD_MOSI=MOSI
-D EPD_CS=SS
-D EPD_DC=27
-D EPD_RST=25
-D EPD_BUSY=32
;****************************************************************************************
;*** Environment specific data for Lilygo TTGO T-Display Boards
;****************************************************************************************
[TTGO_TDISPLAY]
build_flags =
-DBTN_UP=35 ; Pinnumber for button for up/previous and select / enter actions
-DBTN_DWN=0 ; Pinnumber for button for down/next and back / exit actions
-DSUPPORT_TFT
-DTTGO_TDISPLAY=1
-DBACKLIGHT_PWM_CHANNEL=0 ; PWM Channel used for backlight
-DBACKLIGHT_PWM_FREQUENCY=1000 ; PWM Frequency used for backlight
-DUSER_SETUP_LOADED=1
-DST7789_DRIVER=1
-DENABLE_TFT=1
-DTFT_WIDTH=135
-DTFT_HEIGHT=240
-DCGRAM_OFFSET=1
-DTFT_MOSI=19
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=16
-DTFT_RST=23
-DTFT_BACKLIGHT=4
-DTFT_BACKLIGHT_ON=HIGH
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DLOAD_FONT4=1
-DLOAD_FONT6=1
-DLOAD_FONT7=1
-DLOAD_FONT8=1
-DLOAD_GFXFF=1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=40000000
-DSPI_READ_FREQUENCY=6000000
[env:TTGO_TDISPLAY]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
upload_port = ${common_env_data.upload_port}
monitor_port = ${common_env_data.monitor_port}
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
bodmer/TFT_eSPI @ ^2.5.43
${common_env_data.lib_deps}
build_flags =
${common_env_data.build_flags}
${TTGO_TDISPLAY.build_flags}
-DUNITHOSTNAME="\"CO2-Gadget"\"
-DFLAVOUR="\"TTGO T-Display"\"
[env:TTGO_TDISPLAY_SANDWICH]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
upload_port = ${common_env_data.upload_port}
monitor_port = ${common_env_data.monitor_port}
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
bodmer/TFT_eSPI @ ^2.5.43
build_flags =
${common_env_data.build_flags}
${TTGO_TDISPLAY.build_flags}
-DCUSTOM_I2C_SDA=22 ; Override default pin for I2C SDA (for sandwich build)
-DCUSTOM_I2C_SCL=21 ; Override default pin for I2C SCL (for sandwich build)
-DUNITHOSTNAME="\"CO2-Gadget-S"\"
-DFLAVOUR="\"TTGO T-Display Sandwich"\"
[env:esp32dev_OLED]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
upload_port = ${common_env_data.upload_port}
monitor_port = ${common_env_data.monitor_port}
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
olikraus/U8g2@^2.32.6
build_flags =
${common_env_data.build_flags}
-DSUPPORT_OLED
-DBTN_UP=15 ; Pinnumber for button for up/previous and select / enter actions
-DBTN_DWN=0 ; Pinnumber for button for down/next and back / exit actions
-DUNITHOSTNAME="\"CO2-Gadget-OLED"\"
-DFLAVOUR="\"ESP32 OLED"\"
[env:TDISPLAY_S3]
platform = https://github.com/platformio/platform-espressif32.git
board = lilygo-t-display-s3
framework = ${common_env_data.framework}
monitor_filters = ${common_env_data.monitor_filters}
extra_scripts = ${common_env_data.extra_scripts}
board_build.flash_mode = dio
board_upload.flash_size = 16MB
upload_speed = 921600
monitor_speed = 115200
monitor_port = COM8
upload_port = COM8
lib_deps =
bodmer/TFT_eSPI @ ^2.5.43
${common_env_data.lib_deps}
build_flags =
${common_env_data.build_flags}
-DARDUINO_ESP32_DEV=1
-DBTN_UP=14 ; Pinnumber for button for up/previous and select / enter actions
-DBTN_DWN=0 ; Pinnum
-DADC_BATTERY_PIN=4 ; ADC GPIO PIN to read battery voltage
-DCUSTOM_I2C_SDA=43
-DCUSTOM_I2C_SCL=44
-DNEOPIXEL_PIN=16 ; Pinnumber for button for down/next and back / exit actions
-UENABLE_PIN ; ENABLE_PIN not supported in T-Display S3
-UENABLE_PIN_HIGH ; ENABLE_PIN not supported in T-Display S3
-DRED_PIN=01 ; GPIO to go HIGH on red color range
-DBLUE_PIN=03 ; GPIO to go HIGH on orange color range
-DSUPPORT_TFT
-DLILYGO_T_DISPLAY_S3
-DLV_LVGL_H_INCLUDE_SIMPLE
-DTOUCH_MODULES_CST_MUTUAL
-DUSER_SETUP_LOADED=1
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DST7789_DRIVER
-DINIT_SEQUENCE_3
-DCGRAM_OFFSET
-DTFT_RGB_ORDER=TFT_RGB
-DTFT_INVERSION_ON
-DTFT_PARALLEL_8_BIT
-DTFT_WIDTH=170
-DTFT_HEIGHT=320
-DTFT_CS=6
-DTFT_DC=7
-DTFT_RST=5
-DTFT_WR=8
-DTFT_RD=9
-DTFT_D0=39
-DTFT_D1=40
-DTFT_D2=41
-DTFT_D3=42
-DTFT_D4=45
-DTFT_D5=46
-DTFT_D6=47
-DTFT_D7=48
-DTFT_BACKLIGHT=38
-DTFT_POWER_ON_BATTERY=15 ; Pin must be high to power on display when on battery
-DTFT_BACKLIGHT_ON=HIGH
-DLOAD_GLCD
-DLOAD_FONT2
-DLOAD_FONT4
-DLOAD_FONT6
-DLOAD_FONT7
-DLOAD_FONT8
-DLOAD_GFXFF
-DSMOOTH_FONT=1
-DUNITHOSTNAME="\"CO2-Gadget-S3"\"
-DFLAVOUR="\"T-Display S3"\"
[env:esp32dev_ST7789_240x320]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
upload_speed = 921600
monitor_speed = 115200
monitor_port = COM6
upload_port = COM6
lib_deps =
bodmer/TFT_eSPI @ ^2.5.43
${common_env_data.lib_deps}
build_flags =
${common_env_data.build_flags}
-DBTN_UP=19
-DBTN_DWN=0
-DUART_RX_GPIO=15 ; Override default pin for PMS RX
-DUART_TX_GPIO=14 ; Override default pin for PMS TX
-UDUPPORT_MDNS
-UDUPPORT_MQTT
-UDUPPORT_MQTT_DISCOVERY
-DUSER_SETUP_LOADED=1
-DSUPPORT_TFT
-DST7789_DRIVER
-DST7789_240x320
-DENABLE_TFT=1
-DTFT_WIDTH=240
-DTFT_HEIGHT=320
-DTFT_RGB_ORDER=TFT_BGR
-DTFT_INVERSION_ON
-DTFT_SDA_READ
-DTFT_MISO=-1
-DTFT_MOSI=23
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=16
-DTFT_RST=-1
-DTFT_BACKLIGHT=17
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DLOAD_FONT4=1
-DLOAD_FONT6=1
-DLOAD_FONT7=1
-DLOAD_FONT8=1
-DLOAD_GFXFF=1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=40000000
-DUNITHOSTNAME="\"CO2-Gadget_ST7789_240x320"\"
-DFLAVOUR="\"ST7789_240x320"\"
[env:ttgo-t5-EINKBOARDGDEM0213B74]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_port = COM3
upload_speed = 2000000
monitor_port = COM3
monitor_speed = 115200
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
zinggjm/GxEPD2@^1.5.6
build_flags =
${common_env_data.build_flags}
${t5-board-wiring_pins.build_flags}
${t5-board-eink_pins.build_flags}
-DSUPPORT_EINK
-DEINKBOARDGDEM0213B74
-DUNITHOSTNAME="\"CO2-Gadget-GDEM0213B74"\"
-DFLAVOUR="\"GDEM0213B74"\"
[env:ttgo-t5-EINKBOARDDEPG0213BN]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_port = COM4
monitor_port = COM4
upload_speed = 2000000
monitor_speed = 115200
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
zinggjm/GxEPD2@^1.5.6
build_flags =
${common_env_data.build_flags}
${t5-board-wiring_pins.build_flags}
${t5-board-eink_pins.build_flags}
; -DFORCE_USE_CM1106
-DSUPPORT_EINK
-DEINKBOARDDEPG0213BN
-DUNITHOSTNAME="\"CO2-Gadget-DEPG0213BN"\"
-DFLAVOUR="\"DEPG0213BN"\"
[env:ttgo-t5-EINKBOARDGDEW0213M21]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_port = COM17
monitor_port = COM17
upload_speed = 2000000
monitor_speed = 115200
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
zinggjm/GxEPD2@^1.5.6
build_flags =
${common_env_data.build_flags}
${t5-board-wiring_pins.build_flags}
${t5-board-eink_pins.build_flags}
; -DFORCE_USE_CM1106
-DSUPPORT_EINK
-DEINKBOARDGDEW0213M21
-DUNITHOSTNAME="\"CO2-Gadget-GDEW0213M21"\"
-DFLAVOUR="\"GDEW0213M21"\"
[env:ttgo-t7-EINKBOARDGDEM029T94]
platform = https://github.com/platformio/platform-espressif32.git
; board = esp32dev
board = ttgo-t7-v14-mini32
framework = ${common_env_data.framework}
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
monitor_speed = 115200
monitor_port = COM11
upload_port = COM11
upload_speed = 2000000
lib_deps =
${common_env_data.lib_deps}
zinggjm/GxEPD2@^1.5.6
build_flags =
${common_env_data.build_flags}
${t7-board-eink_pins.build_flags}
${t7-board-wiring_pins.build_flags}
-USUPPORT_ESPNOW
-UDUPPORT_MDNS
-DSUPPORT_EINK
-DEINKBOARDGDEM029T94
-DARDUINO_ESP32_DEV=1
-UTFT_BACKLIGHT
-UTFT_BL
-DUNITHOSTNAME="\"CO2-Gadget-GDEM029T94"\"
-DFLAVOUR="\"GDEM029T94"\"
[env:ttgo-t7-WEACT_GDEH0154D67]
platform = https://github.com/platformio/platform-espressif32.git
; board = esp32dev
board = ttgo-t7-v14-mini32
framework = ${common_env_data.framework}
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
monitor_speed = 115200
monitor_port = COM11
upload_port = COM11
upload_speed = 2000000
lib_deps =
${common_env_data.lib_deps}
zinggjm/GxEPD2@^1.5.6
build_flags =
${common_env_data.build_flags}
${t7-board-eink_pins.build_flags}
${t7-board-wiring_pins.build_flags}
-USUPPORT_ESPNOW
-UDUPPORT_MDNS
-DSUPPORT_EINK
-DEINKBOARD_WEACT_GDEH0154D67
-DARDUINO_ESP32_DEV=1
-UTFT_BACKLIGHT
-UTFT_BL
-DUNITHOSTNAME="\"CO2-Gadget-GDEH0154D67"\"
-DFLAVOUR="\"GDEH0154D67-WeAct"\" ; GDEH0154D67 As WeAct Studio 1.54" 200x200 E-Ink Display
[env:ttgo-t7-WEACT_DEPG0213BN]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_port = COM11
monitor_port = COM11
upload_speed = 2000000
monitor_speed = 115200
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
zinggjm/GxEPD2@^1.5.6
build_flags =
${common_env_data.build_flags}
${t7-board-eink_pins.build_flags}
${t7-board-wiring_pins.build_flags}
; -DFORCE_USE_CM1106
-DSUPPORT_EINK
-DEINKBOARD_WEACT_DEPG0213BN
-DUNITHOSTNAME="\"CO2-Gadget-WeAct"\"
-DFLAVOUR="\"DEPG0213BN-WeAct"\" ; DEPG0213BN As WeAct Studio 2.13" 250x122 E-Ink Display
[env:ttgo-t7-WEACT_GxEPD2_290_BS]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = ${common_env_data.framework}
upload_port = COM11
monitor_port = COM11
upload_speed = 2000000
monitor_speed = 115200
monitor_filters = ${common_env_data.monitor_filters}
board_build.partitions = ${common_env_data.board_build.partitions}
extra_scripts = ${common_env_data.extra_scripts}
lib_deps =
${common_env_data.lib_deps}
zinggjm/GxEPD2@^1.5.6
build_flags =
${common_env_data.build_flags}
${t7-board-eink_pins.build_flags}
${t7-board-wiring_pins.build_flags}
; -DFORCE_USE_CM1106
-DSUPPORT_EINK
-DEINKBOARD_WEACT_GxEPD2_290_BS
-DUNITHOSTNAME="\"CO2-Gadget-WeAct"\"
-DFLAVOUR="\"GxEPD2_290_BS-WeAct"\" ; GDEM029C90 As WeAct Studio 2.9" 296x128 E-Ink Display