-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
51 lines (50 loc) · 1.18 KB
/
Copy pathplatformio.ini
File metadata and controls
51 lines (50 loc) · 1.18 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
46
47
48
49
50
51
; 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:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.partitions = huge_app.csv
monitor_speed = 115200
upload_speed = 460800
upload_port = /dev/cu.usbserial-2110
lib_deps =
lvgl/lvgl@^8.3.11
bodmer/TFT_eSPI@^2.5.43
bblanchon/ArduinoJson@^6.21.3
https://github.com/PaulStoffregen/XPT2046_Touchscreen.git
SD
FS
build_flags =
-I include
-D LV_CONF_INCLUDE_SIMPLE
-D LV_CONF_PATH="${PROJECT_DIR}/include/lv_conf.h"
-D USER_SETUP_LOADED=1
-D ILI9341_DRIVER=1
-D TFT_WIDTH=240
-D TFT_HEIGHT=320
-D TFT_MISO=12
-D TFT_MOSI=13
-D TFT_SCLK=14
-D TFT_CS=15
-D TFT_DC=2
-D TFT_RST=4
-D TFT_BL=21
-D TOUCH_CS=33
-D TOUCH_MOSI=32
-D TOUCH_MISO=39
-D TOUCH_CLK=25
-D TOUCH_IRQ=36
-D SD_CS=5
-D SD_MOSI=23
-D SD_MISO=19
-D SD_SCK=18
-D SPI_FREQUENCY=40000000
-D SPI_READ_FREQUENCY=20000000