-
Notifications
You must be signed in to change notification settings - Fork 13
/
platformio.ini
215 lines (209 loc) · 4.68 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
[platformio]
default_envs = esp8266, esp32, esp32-s2, esp32-s3, geekmagic-smalltv, lilygo-t-display-s3
[env:esp8266]
platform = https://github.com/platformio/platform-espressif8266.git
board = d1_mini
framework = arduino
monitor_speed = 115200
build_type = debug
monitor_filters =
log2file
esp8266_exception_decoder
time
board_build.f_cpu = 160000000L
board_build.filesystem = littlefs
test_build_src = yes
build_src_filter =
+<*>
-<.*/*>
-<screen/*>
build_flags =
-O3
-DESP8266_D=1
-DLOG_LEVEL=3
-fexceptions
lib_deps =
https://github.com/DaveGamble/cJSON
https://github.com/me-no-dev/ESPAsyncWebServer.git
vshymanskyy/Preferences@^2.1.0
[env:geekmagic-smalltv]
platform = https://github.com/platformio/platform-espressif8266.git
board = nodemcuv2
framework = arduino
monitor_speed = 115200
build_type = debug
monitor_filters =
esp8266_exception_decoder
board_build.f_cpu = 160000000L
board_build.filesystem = littlefs
test_build_src = yes
build_src_filter =
+<*>
-<.*/*>
-<screen/lilygo-t-s3*>
lib_deps =
https://github.com/DaveGamble/cJSON
vshymanskyy/Preferences@^2.1.0
https://github.com/me-no-dev/ESPAsyncWebServer.git
bodmer/TFT_eSPI @ 2.5.43
build_flags =
-O3
-DLOG_LEVEL=3
-fexceptions
-DHAS_LCD
-DGEEKMAGICCLOCK_SMALLTV=1
-DUSER_SETUP_LOADED
-DST7789_2_DRIVER
-DTFT_RGB_ORDER=TFT_RGB
-DTFT_WIDTH=240
-DTFT_HEIGHT=240
-DTFT_CS=-1
-DTFT_DC=0
-DTFT_RST=2
-DTFT_BL=5
-DTFT_BACKLIGHT_ON=LOW
-DTFT_MOSI=13
-DTFT_SCK=14
-DLOAD_GLCD
-DLOAD_FONT2
-DLOAD_FONT4
-DLOAD_FONT6
-DLOAD_GFXFF
-DSMOOTH_FONT
[env:esp32]
platform = https://github.com/platformio/platform-espressif32.git#develop
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v5.1
board = esp32dev
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
board_build.arduino.upstream_packages = no
framework = arduino
monitor_speed = 115200
build_type = debug
test_build_src = yes
monitor_filters = esp32_exception_decoder
lib_deps =
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/DaveGamble/cJSON.git
build_src_filter =
+<*>
-<.*/*>
-<screen/*>
build_flags =
-O3
-DESP32_WROOM=1
-DLOG_LEVEL=3
-DBOARD_HAS_PSRAM
-DCONFIG_SPIRAM_CACHE_WORKAROUND
-DCORE_DEBUG_LEVEL=0
-fexceptions
[env:esp32-s2]
platform = https://github.com/platformio/platform-espressif32.git#develop
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v5.1
board = lolin_s2_mini
framework = arduino
monitor_speed = 115200
test_build_src = yes
lib_deps =
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/DaveGamble/cJSON.git
build_src_filter =
+<*>
-<.*/*>
-<screen/*>
monitor_filters = esp32_exception_decoder
build_flags =
-O3
-DESP32_S2=1
-DLOG_LEVEL=3
[env:esp32-s3]
platform = https://github.com/platformio/platform-espressif32.git#develop
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v5.1
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
build_type = debug
test_build_src = yes
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
build_src_filter =
+<*>
-<.*/*>
-<screen/*>
monitor_filters =
log2file
esp32_exception_decoder
time
lib_deps =
https://github.com/DaveGamble/cJSON.git
https://github.com/me-no-dev/ESPAsyncWebServer.git
build_flags =
-O2
-DLOG_LEVEL=3
-DCORE_DEBUG_LEVEL=0
-DESP32_S3=1
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DBOARD_HAS_PSRAM
-DNDEBUG
-fexceptions
[env:lilygo-t-display-s3]
platform = https://github.com/platformio/platform-espressif32.git#develop
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v4.4
board = lilygo-t-display-s3
framework = arduino
monitor_speed = 115200
build_type = debug
test_build_src = yes
build_src_filter =
+<*>
-<.*/*>
-<screen/240x*>
monitor_filters =
log2file
esp32_exception_decoder
time
lib_deps =
bodmer/TFT_eSPI @ 2.5.43
https://github.com/DaveGamble/cJSON.git
https://github.com/me-no-dev/ESPAsyncWebServer.git
build_flags =
-O2
-DLOG_LEVEL=3
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DHAS_LCD
-DLILYGO_T_S3=1
-DUSER_SETUP_LOADED
-DUSER_SETUP_ID=206
-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_BL=38
-DTFT_BACKLIGHT_ON=HIGH
-DLOAD_GLCD
-DLOAD_FONT2
-DLOAD_FONT4
-DLOAD_FONT6
-DLOAD_GFXFF
-DSMOOTH_FONT