-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
46 lines (37 loc) · 1.02 KB
/
platformio.ini
File metadata and controls
46 lines (37 loc) · 1.02 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
[env:esp32dev]
board = esp32dev
platform = espressif32
framework = arduino
monitor_speed = 115200
board_build.filesystem = spiffs
board_build.partitions = no_ota.csv
lib_deps =
bodmer/TFT_eSPI@^2.5.30
https://github.com/PaulStoffregen/XPT2046_Touchscreen@^1.4.0
; h2zero/NimBLE-Arduino ; BLE library - Enabling BLE will increase the firmware size significantly
lua@^0.1.1
links2004/WebSockets@^2.7.1
bblanchon/ArduinoJson@^7.4.2
build_flags =
-D USER_SETUP_LOADED=1
-D ILI9342_DRIVER=1
-D TFT_RGB_ORDER=TFT_RGB
; Fonts
-D LOAD_GLCD=1
-D LOAD_FONT2=1
-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 TFT_BACKLIGHT_ON=HIGH
-D TOUCH_CS=33
-D TOUCH_IRQ=36
-D USE_HSPI_PORT=1
; Optimizations. Dangerous:
; -D SPI_FREQUENCY=40000000L ; High speed for better FPS
-D SPI_FREQUENCY=80000000L ; Dangerous
-D WIFI_SSID=\"${sysenv.WIFI_SSID}\"
-D WIFI_PASSWORD=\"${sysenv.WIFI_PASSWORD}\"