-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
72 lines (61 loc) · 1.22 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
[platformio]
src_dir = .
default_envs = cyd
[env]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
wnatth3/WiFiManager
bodmer/TFT_eSPI@^2.5.33
bitbank2/JPEGDEC@^1.2.8
greiman/SdFat@^2.2.2
nitek/XPT2046_Bitbang_Slim@^2.0.0
me-no-dev/ESP Async WebServer@^1.2.4
me-no-dev/AsyncTCP@^1.1.1
qrcode
;https://github.com/schreibfaul1/ESP32-audioI2S.git#3.0.0
earlephilhower/ESP8266Audio @ ^1.9.7
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
upload_speed = 921600
board_build.partitions=min_spiffs.csv
board_build.arduino.upstream_packages = no
build_flags =
-DUSER_SETUP_LOADED
-DTFT_MISO=12
-DTFT_MOSI=13
-DTFT_SCLK=14
-DTFT_CS=15
-DUSE_HSPI_PORT
-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
-DSMOOTH_FONT=0
[env:cyd]
build_flags =
${env.build_flags}
-DILI9341_2_DRIVER
[env:cyd2usb]
build_flags =
${env.build_flags}
-DST7789_DRIVER
-DTFT_INVERSION_OFF
[env:cyd2b]
build_flags =
${env.build_flags}
-DILI9341_2_DRIVER
-DTFT_INVERSION_ON
-DENV_CYD2B
-DUSE_GAMMA_CORRECTION