-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
59 lines (56 loc) · 1.67 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
; 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:esp32dev]
platform = espressif32@^6.2.3
board = esp32doit-devkit-V1
framework = arduino
board_build.mcu = esp32
lib_deps =
https://github.com/hsaturn/TinyMqtt/archive/refs/tags/1.1.0.zip
https://github.com/takkaO/OpenFontRender/archive/refs/tags/v1.1.zip
https://github.com/PaulStoffregen/XPT2046_Touchscreen/archive/refs/tags/v1.4.zip
bodmer/TFT_eSPI@^2.5.43 ;was34
arduino-libraries/NTPClient@^3.2.1
robtillaart/MultiMap@^0.2.0
https://github.com/tzapu/WiFiManager/archive/refs/tags/v2.0.16-rc.2.zip
bblanchon/ArduinoJson@^6.21.5
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
upload_speed = 921600
board_build.partitions = min_spiffs.csv
build_flags =
-DUSER_SETUP_LOADED
;-DILI9341_2_DRIVER
-DST7789_DRIVER ; CYD 2 USB version USB C and Micro USB
-DTFT_WIDTH=240
-DTFT_HEIGHT=320
-DUSE_HSPI_PORT
-DTFT_MISO=12
-DTFT_MOSI=13
-DTFT_SCLK=14
-DTFT_CS=15
-DTFT_DC=2
-DTFT_RST=-1
-DTFT_BL=21
-DTFT_BACKLIGHT_ON=HIGH
-DTFT_BACKLIGHT_OFF=LOW
-DLOAD_GLCD
-DSPI_FREQUENCY=55000000
-DSPI_READ_FREQUENCY=20000000
-DSPI_TOUCH_FREQUENCY=2500000
-DLOAD_FONT2
-DLOAD_FONT4
-DLOAD_FONT6
-DLOAD_FONT7
-DLOAD_FONT8
-DLOAD_GFXFF
;-DTFT_INVERSION_ON ; for ILI9341_2
-DTFT_INVERSION_OFF ; for ST7789
-DTFT_RGB_ORDER=TFT_BGR ; for ST7789