-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathplatformio.ini
132 lines (115 loc) · 2.9 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
; 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]
; commun pour le TTGO
;info https://github.com/JakubAndrysek/TTGO_T_Display/blob/master/TTGO_example/platformio.ini
; version 3.5.0. -> Jan 28, 2022
; version 6.1.0 -> Mars 2023
;platform = espressif32 @ ~3.5.0
;platform = espressif32 @ ~6.1.0
platform = espressif32 @ ~6.3.1 ; 6.3.1 -> 2023-05-31
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
;platform_packages =
; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
; partition table
board_build.partitions = spiffs.csv
build_flags =
-DCORE_DEBUG_LEVEL=0
-DUSER_SETUP_LOADED=25
-DST7789_DRIVER
-DTFT_SDA_READ
-DTFT_WIDTH=135
-DTFT_HEIGHT=240
-DCGRAM_OFFSET
-DTFT_MOSI=19
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=16
-DTFT_RST=23
-DTFT_BL=4
-DTFT_BACKLIGHT_ON=HIGH
-DLOAD_GLCD
-DLOAD_FONT2
-DLOAD_FONT4
-DLOAD_FONT6
-DLOAD_FONT7
-DLOAD_FONT8
-DLOAD_GFXFF
-DSMOOTH_FONT
-DSPI_FREQUENCY=40000000
-DSPI_READ_FREQUENCY=6000000
-DCONFIG_COMPILER_STACK_CHECK_MODE_STRONG
-DELEGANTOTA_USE_ASYNC_WEBSERVER=1
; langues disponibles
-D LANG_FR
;LANG_EN
;LANG_UA
lib_deps =
mathieucarbou/AsyncTCP@^3.3.2
mathieucarbou/ESPAsyncWebServer@^3.6.0
bblanchon/ArduinoJson@^7.3.0 ;support screen
; OTA
https://github.com/ayushsharma82/ElegantOTA@^3.1.6
; Dimmer et Dallas
https://github.com/xlyric/RBDDimmer
paulstoffregen/OneWire
milesburton/DallasTemperature
https://github.com/YiannisBourkelis/Uptime-Library
arduino-libraries/NTPClient@^3.2.1
paulstoffregen/Time
[env:ttgo-t-display]
lib_deps =
${env.lib_deps}
; support MQTT
knolleary/pubsubclient@^2.8.0
TFT_eSPI
build_flags =
${env.build_flags}
-D NORMAL_FIRMWARE
-D COMPILE_NAME=\"TTGO\"
-DTTGO
;build_type = debug
;monitor_filters = esp32_exception_decoder
[env:ttgo-t-display-pcent]
lib_deps =
${env.lib_deps}
; support MQTT
knolleary/pubsubclient@^2.8.0
TFT_eSPI
build_flags =
${env.build_flags}
-D NORMAL_FIRMWARE
-D POURCENTAGE
-D COMPILE_NAME=\"TTGO-POURCENTAGET\"
-DTTGO
[env:ttgo-t-display-light]
build_flags =
${env.build_flags}
-D LIGHT_FIRMWARE
-D COMPILE_NAME=\"TTGO-light\"
-DTTGO
lib_deps =
${env.lib_deps}
TFT_eSPI
[env:WemosD1_ESP32_Shelly]
; base pour utlisation de la carte dimmer + shelly
lib_deps =
${env.lib_deps}
; support MQTT
knolleary/pubsubclient@^2.8.0
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.6.1
build_flags =
${env.build_flags}
-D NORMAL_FIRMWARE
-D COMPILE_NAME=\"Wemos32\"
-D ESP32D1MINI_FIRMWARE