-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
45 lines (43 loc) · 1.02 KB
/
platformio.ini
File metadata and controls
45 lines (43 loc) · 1.02 KB
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
; 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
[env]
lib_deps =
mikalhart/TinyGPSPlus @ ^1.1.0
bodmer/TFT_eSPI @ ^2.5.43
; paulstoffregen/Time @ ^1.6.1
; jchristensen/Timezone @ ^1.2.4
lvgl/lvgl @ ^9.2.2
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
;framework = espidf
build_flags =
-D DISABLE_ALL_LIBRARY_WARNINGS
-D LV_CONF_INCLUDE_SIMPLE
-D USER_SETUP_LOADED=1
-D GC9A01_DRIVER=1
-D TFT_WIDTH=240
-D TFT_HEIGHT=240
-D TFT_MOSI=23
-D TFT_SCLK=18
-D TFT_CS=5
-D TFT_DC=19
-D TFT_RST=4
-D SPI_FREQUENCY=27000000
-D SPI_READ_FREQUENCY=40000000
-D LOAD_GLCD=1
-D LOAD_FONT2=1
-D LOAD_FONT4=1
-D LOAD_FONT6=1
-D LOAD_FONT7=1
-D LOAD_FONT8=1
-D LOAD_GFXFF=1
-D SMOOTH_FONT=1