-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
platformio.ini
122 lines (109 loc) · 2.41 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
; 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 = TTGO_TDISPLAY
[common]
platform = espressif32
framework = arduino
upload_speed = 1500000
monitor_speed = 115200
version = 0.4.8
revision = 862
target = dev
monitor_filters = time
extra_scripts = pre:prebuild.py
build_flags =
-D CORE_DEBUG_LEVEL=0
-D EMOTICONS
lib_deps =
bblanchon/ArduinoJson @ 6.18.5
tobiasschuerg/ESP8266 Influxdb @ 3.9.0
chrisjoyce911/esp32FOTA @ 0.1.5
hpsaturn/CanAirIO Air Quality Sensors Library @ 0.3.9
[esp32_common]
platform = espressif32
board = lolin32
framework = ${common.framework}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
monitor_filters = ${common.monitor_filters}
extra_scripts = ${common.extra_scripts}
board_build.partitions = min_spiffs.csv
[oled_common]
extends = esp32_common
lib_ignore = gui-utils-tft
lib_deps =
${common.lib_deps}
U8g2 @ ^2.28.8
[env:TTGO_T7]
extends = oled_common
[env:TTGO_T7_OTA]
extends = oled_common
upload_protocol = espota
upload_port = 'CanAirIO.local'
upload_flags =
--port=3232
--auth=CanAirIO
[env:WEMOSOLED]
extends = oled_common
upload_speed = 921600
[env:HELTEC]
extends = oled_common
[env:TTGO_TQ]
extends = oled_common
[env:ESP32DEVKIT]
extends = oled_common
upload_speed = 921600
[tft_common]
extends = esp32_common
lib_deps =
${common.lib_deps}
bodmer/TFT_eSPI @ 2.3.73
[env:TTGO_TDISPLAY]
extends = tft_common
board = esp32dev
lib_ldf_mode = deep
lib_ignore = gui-utils-oled
build_flags =
${common.build_flags}
-Os
-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_BL=4
-DTFT_BACKLIGHT_ON=1
-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:M5STICKCPLUS]
extends = tft_common
board = esp32dev
lib_ldf_mode = deep
lib_deps =
${common.lib_deps}
M5StickCPlus
lib_ignore = gui-utils-oled