-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
60 lines (56 loc) · 1.08 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
[platformio]
src_dir = .
default_envs = cyd
[env]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
bodmer/TFT_eSPI@^2.5.33
bitbank2/bb_captouch@^1.2.2
greiman/SdFat@^2.2.3
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
# upload_speed = 921600
upload_speed = 460800
board_build.partitions=min_spiffs.csv
build_flags =
-DUSER_SETUP_LOADED
-DUSE_HSPI_PORT
-DILI9341_2_DRIVER
-DTFT_WIDTH=240
-DTFT_HEIGHT=320
-DSD_CS=5
-DTFT_MISO=12
-DTFT_MOSI=13
-DTFT_SCLK=14
-DTFT_CS=15
-DTFT_DC=2
-DTFT_RST=-1
-DTFT_BL=27
-DTFT_BACKLIGHT_ON=HIGH
-DTFT_BACKLIGHT_OFF=LOW
-DTOUCH_CS=33
-DLOAD_GLCD
-DSPI_FREQUENCY=65000000
-DSPI_READ_FREQUENCY=20000000
-DSPI_TOUCH_FREQUENCY=2500000
-DTFT_INVERSION_ON
-DSMOOTH_FONT
-DLOAD_GLCD
-DLOAD_FONT2
-DLOAD_FONT4
-DLOAD_FONT6
-DLOAD_FONT7
-DLOAD_FONT8
-DLOAD_GFXFF
[env:cyd]
build_flags =
${env.build_flags}
-DILI9341_2_DRIVER
[env:cyd2usb]
build_flags =
${env.build_flags}
-DST7789_DRIVER
-DTFT_RGB_ORDER=TFT_BGR
-DTFT_INVERSION_OFF