-
Notifications
You must be signed in to change notification settings - Fork 3
/
platformio.ini
83 lines (77 loc) · 1.78 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
; 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
[platformio]
src_dir = F1-Notifications
default_envs = cyd
[env]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
khoih-prog/ESP_DoubleResetDetector@^1.3.2
bblanchon/ArduinoJson@^6.21.3
https://github.com/tzapu/WiFiManager.git#v2.0.17
ropg/ezTime@^0.8.3
witnessmenow/UniversalTelegramBot@^1.3.0
https://github.com/witnessmenow/file-fetcher-arduino.git
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
upload_speed = 921600
#lib_ldf_mode = deep+
[common_cyd]
lib_deps =
${env.lib_deps}
bodmer/TFT_eSPI@^2.5.33
bitbank2/PNGdec@^1.0.2
build_flags =
-DYELLOW_DISPLAY
-DUSER_SETUP_LOADED
-DILI9341_2_DRIVER
-DTFT_WIDTH=240
-DTFT_HEIGHT=320
-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
-DUSE_HSPI_PORT
[env:cyd]
lib_deps =
${common_cyd.lib_deps}
build_flags =
${common_cyd.build_flags}
-DTFT_INVERSION_OFF
[env:cyd2usb]
lib_deps =
${common_cyd.lib_deps}
build_flags =
${common_cyd.build_flags}
-DTFT_INVERSION_ON
[env:trinity]
lib_deps =
${env.lib_deps}
mrfaptastic/ESP32 HUB75 LED MATRIX PANEL DMA Display@^3.0.9
adafruit/Adafruit GFX Library@^1.11.9
build_flags =
-DMATRIX_DISPLAY