-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
64 lines (62 loc) · 2 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
; 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:dev]
extra_scripts = pre:scripts/install-node-deps.py
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
board_build.filesystem = spiffs
lib_deps =
https://github.com/lvgl/lvgl.git#v8.3.11
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/fbiego/ESP32Time.git#cefc6857b583ae5478000da897c838a6bf6d3275
https://github.com/bblanchon/ArduinoJson.git#v7.0.4
https://github.com/Mbed-TLS/mbedtls#mbedtls-2.16.0
https://github.com/tobozo/YAMLDuino.git#v1.4.0
https://github.com/mathieucarbou/ESPAsyncWebServer.git#abcd2df5e087ef712cb7e5145a60812c473423f4
build_flags =
-Ofast
-Wall
-D DISPLAY_WIDTH=320
-D DISPLAY_HEIGHT=240
-D USER_SETUP_LOADED=1
-D TFT_RGB_ORDER=TFT_RGB
-D ILI9341_DRIVER=1
-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"
-D CORE_DEBUG_LEVEL=5
-D ENABLE_SERIAL=1
[env:prod]
extends = env:dev
build_flags =
${env:dev.build_flags}
-D CORE_DEBUG_LEVEL=0
-D ENABLE_SERIAL=0