-
Notifications
You must be signed in to change notification settings - Fork 18
/
platformio.ini
49 lines (39 loc) · 991 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
[env]
platform = espressif32
framework = arduino
platform_packages =
framework-arduinoespressif32 @ https://github.com/husarnet/arduino-esp32/releases/download/1.0.4-1/arduino-husarnet-esp32.zip
lib_deps =
Husarnet ESP32
https://github.com/bxparks/AceButton.git
https://github.com/husarnet/AsyncTCP.git
ESP Async WebServer
https://github.com/Bodmer/TFT_eSPI.git
[env:esp32dev]
board = esp32dev
monitor_speed = 115200
upload_speed = 921600
monitor_filters = esp32_exception_decoder, default
board_build.partitions = min_spiffs.csv
board_build.embed_txtfiles = src/index.html
build_flags =
-DCONFIG_ASYNC_TCP_RUNNING_CORE=1
-DCONFIG_ASYNC_TCP_USE_WDT=0
-DUSER_SETUP_LOADED=1
-DST7789_DRIVER=1
-DTFT_WIDTH=135
-DTFT_HEIGHT=240
-DCGRAM_OFFSET=1
-DTFT_MISO=-1
-DTFT_MOSI=19
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=16
-DTFT_RST=23
-DTFT_BL=4
-DLOAD_GLCD=1
-DSMOOTH_FONT=1
-TFT_BACKLIGHT_ON=HIGH
-DLOAD_FONT2=1
-DSPI_FREQUENCY=40000000
-DSPI_READ_FREQUENCY=6000000