/
platformio.ini
69 lines (67 loc) · 2.4 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
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32-cyd]
extra_scripts = pre:scripts/install-node-deps.py
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =
https://github.com/lvgl/lvgl.git#v8.3.11
https://github.com/ddxfish/XPT2046_Bitbang_Arduino_Library.git#e8da3dc41f1bd47510e6e61c93463fa1f8fe5586
https://github.com/Bodmer/TFT_eSPI.git#v2.5.33
https://github.com/adafruit/SdFat.git#2.2.3
https://github.com/adafruit/Adafruit_NeoPixel#v1.1.2
https://github.com/adafruit/Adafruit_SPIFlash.git#4.3.4
https://github.com/lucadentella/TOTP-Arduino.git#aad39274fd4508623bf423730e4cc7f529c80a9
https://github.com/NetRat/Base32.git#1c65e655360882074f33837ae53f777aee88418e
https://github.com/PaulStoffregen/Time.git#a18e50dcea4ee17285d732d39e7bc559482d1d3d
https://github.com/fbiego/ESP32Time.git#cefc6857b583ae5478000da897c838a6bf6d3275
https://github.com/knolleary/pubsubclient.git#2d228f2f862a95846c65a8518c79f48dfc8f188c
https://github.com/bblanchon/ArduinoJson.git#v7.0.4
https://github.com/Mbed-TLS/mbedtls#mbedtls-2.16.0
build_flags =
-Ofast
-Wall
-D WIFI_SSID=\"${sysenv.WIFI_SSID}\"
-D WIFI_PASSWORD=\"${sysenv.WIFI_PASSWORD}\"
-D MQTT_PORT=\"${sysenv.MQTT_PORT}\"
-D MQTT_SERVER=\"${sysenv.MQTT_SERVER}\"
-D MQTT_USERNAME=\"${sysenv.MQTT_USERNAME}\"
-D MQTT_PASSWORD=\"${sysenv.MQTT_PASSWORD}\"
-D PIN_HASH=\"${sysenv.PIN_HASH}\"
-D PIN_KEY=\"${sysenv.PIN_KEY}\"
-D USER_SETUP_LOADED=1
-D TFT_RGB_ORDER=TFT_RGB
-D LVGL_DISPLAY_WIDTH=320
-D LVGL_DISPLAY_HEIGHT=240
-D ILI9341_DRIVER=1
-D LCD_WIDTH=320
-D LCD_HEIGHT=240
-D TFT_WIDTH=320
-D TFT_HEIGHT=240
-D TFT_MISO=19
-D TFT_MOSI=13
-D TFT_SCLK=14
-D TFT_CS=15
-D TFT_DC=2
-D TFT_RST=12
-D TFT_BCKL=21
-D SPI_FREQUENCY=40000000
-D SPI_READ_FREQUENCY=16000000
-D SMOOTH_FONT=1
-D TOUCH_MOSI=32
-D TOUCH_MISO=39
-D TOUCH_CLK=25
-D TOUCH_CS=33
-D TF_CS=5
-D ENABLE_FAT12_SUPPORT=1
-D LV_CONF_PATH="${PROJECT_DIR}/lv_conf.h"
-I include ;