-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
53 lines (50 loc) · 940 Bytes
/
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
[platformio]
src_dir = .
default_envs = cyd
[env]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
bodmer/TFT_eSPI@^2.5.33
https://github.com/PaulStoffregen/XPT2046_Touchscreen.git#v1.4
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
upload_speed = 921600
board_build.partitions=min_spiffs.csv
build_flags =
-std=gnu++2a
-DUSER_SETUP_LOADED
-DUSE_HSPI_PORT
-DTFT_MISO=12
-DTFT_MOSI=13
-DTFT_SCLK=14
-DTFT_CS=15
-DTFT_DC=2
-DTFT_RST=-1
-DTFT_BL=21
-DTFT_BACKLIGHT_ON=HIGH
-DSPI_FREQUENCY=55000000
-DSPI_READ_FREQUENCY=20000000
-DSPI_TOUCH_FREQUENCY=2500000
-DLOAD_GLCD
-DLOAD_FONT2
-DLOAD_FONT4
-DLOAD_FONT6
-DLOAD_FONT7
-DLOAD_FONT8
-DLOAD_GFXFF
build_unflags:
-fno-rtti
-std=gnu++14
-std=gnu++11
[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