-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathplatformio.ini
184 lines (158 loc) · 5.7 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
; 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]
default_envs = esp32dev
extra_configs = platformio_override.ini
lib_dir = lib
[common]
lib_deps =
fastled/FastLED@3.4.0
GyverButton
ESPAsyncE131-wled
AsyncMqttClient-esphome
ArduinoJson@>=6
Ticker
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/coderus/ESPReactWifiManager.git#f8cb27d2
https://github.com/marcmerlin/FastLED_NeoMatrix.git
https://github.com/marcmerlin/Framebuffer_GFX.git
arduino-libraries/NTPClient
arduinoFFT@1.6.2
lib_ignore = Adafruit ILI9341
lib_ldf_mode = deep
build_unflags = -Werror=reorder
build_flags = -O2
monitor_speed = 115200
upload_speed = 115200
[esp8266]
lib_deps =
LittleFS(esp8266)
ESP8266WiFi
ESP8266mDNS
ESPAsyncUDP
ESPAsyncTCP
${common.lib_deps}
lib_ignore =
${common.lib_ignore}
lib_ldf_mode = ${common.lib_ldf_mode}
platform = espressif8266@2.6.3
filesystem = littlefs
build_flags = ${common.build_flags}
-mtarget-align
-fno-exceptions
-lstdc++ -lsupc++
-DNDEBUG
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
-DVTABLES_IN_FLASH
monitor_filters = esp8266_exception_decoder
extra_scripts = pre:extra_script.py
[esp32]
platform = espressif32@3.5.0
lib_deps =
WiFi
ESPmDNS
FS
SPIFFS
Update
ESP32 Async UDP
AsyncTCP
${common.lib_deps}
lib_ignore =
${common.lib_ignore}
lib_ldf_mode = ${common.lib_ldf_mode}
monitor_filters = esp32_exception_decoder
extra_scripts = pre:extra_script.py
[env]
framework = arduino
monitor_flags = --quiet
--echo
--eol
LF
--filter
time
[env:esp01s]
platform = ${esp8266.platform}
board = esp01_1m
board_build.flash_mode = dout
board_build.f_cpu = 160000000L
board_build.filesystem = ${esp8266.filesystem}
board_build.ldscript = eagle.flash.1m256.ld
extra_scripts = ${esp8266.extra_scripts}
build_unflags = ${common.build_unflags}
build_flags = ${esp8266.build_flags}
monitor_speed = ${common.monitor_speed}
monitor_filters = ${esp8266.monitor_filters}
upload_speed = ${common.upload_speed}
upload_resetmethod = nodemcu
lib_deps = ${esp8266.lib_deps}
lib_ignore = ${esp8266.lib_ignore}
lib_ldf_mode = ${esp8266.lib_ldf_mode}
[env:sonoff-r1]
platform = ${esp8266.platform}
board = esp01_1m
board_build.flash_mode = dout
board_build.f_cpu = 160000000L
board_build.filesystem = ${esp8266.filesystem}
board_build.ldscript = eagle.flash.1m256.ld
extra_scripts = ${esp8266.extra_scripts}
build_unflags = ${common.build_unflags}
build_flags = ${esp8266.build_flags}
-DSONOFF
monitor_speed = ${common.monitor_speed}
monitor_filters = ${esp8266.monitor_filters}
upload_speed = ${common.upload_speed}
upload_resetmethod = nodemcu
lib_deps = ${esp8266.lib_deps}
lib_ignore = ${esp8266.lib_ignore}
lib_ldf_mode = ${esp8266.lib_ldf_mode}
[env:sonoff-r1-4m]
platform = ${esp8266.platform}
board = esp01_1m
board_build.flash_mode = dout
board_build.f_cpu = 160000000L
board_build.filesystem = ${esp8266.filesystem}
board_build.ldscript = eagle.flash.4m1m.ld
extra_scripts = ${esp8266.extra_scripts}
build_unflags = ${common.build_unflags}
build_flags = ${esp8266.build_flags}
-DSONOFF
monitor_speed = ${common.monitor_speed}
monitor_filters = ${esp8266.monitor_filters}
upload_speed = ${common.upload_speed}
upload_resetmethod = nodemcu
lib_deps = ${esp8266.lib_deps}
lib_ignore = ${esp8266.lib_ignore}
lib_ldf_mode = ${esp8266.lib_ldf_mode}
[env:nodemcu]
platform = ${esp8266.platform}
board = nodemcuv2
board_build.filesystem = ${esp8266.filesystem}
extra_scripts = ${esp8266.extra_scripts}
build_unflags = ${common.build_unflags}
build_flags = ${esp8266.build_flags}
monitor_speed = ${common.monitor_speed}
monitor_filters = ${esp8266.monitor_filters}
upload_speed = ${common.upload_speed}
lib_deps = ${esp8266.lib_deps}
lib_ignore = ${esp8266.lib_ignore}
lib_ldf_mode = ${esp8266.lib_ldf_mode}
[env:esp32dev]
platform = ${esp32.platform}
board = esp32doit-devkit-v1
extra_scripts = ${esp32.extra_scripts}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags}
-DCORE_DEBUG_LEVEL=0
monitor_speed = ${common.monitor_speed}
monitor_filters = ${esp32.monitor_filters}
upload_speed = ${common.upload_speed}
lib_deps = ${esp32.lib_deps}
lib_ignore = ${esp32.lib_ignore}
lib_ldf_mode = ${esp32.lib_ldf_mode}