forked from theelims/ESP32-sveltekit
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathplatformio.ini
More file actions
383 lines (339 loc) · 25.1 KB
/
platformio.ini
File metadata and controls
383 lines (339 loc) · 25.1 KB
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
; 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]
description = MoonLight ; 💫
data_dir = data
extra_configs =
factory_settings.ini
features.ini
firmware/*.ini ; 🌙 inspired by meshtastic, actual board definitions are in /firmware
; default_envs = esp32-d0, esp32-d0-16mb, esp32-c3-devkitm-1, esp32-c3-supermini
; 🌙 See /firmware folder for all the envs!!!
; =======================================
[env]
framework = arduino ;espidf will not work as libs rely on arduino (e.g. PhysicHTTP, ...)
; https://github.com/platformio/platform-espressif32/releases
; platform = espressif32 @ 6.10.0 ;Jan 2025, ESP-IDF v4.4.7-dirty / Arduino v2.0.17
; platform = espressif32 @ 6.11.0 ; June 2025, ESP-IDF v4.4.7-dirty / Arduino v2.0.17 latest v4.4.7-dirty ! framework-arduinoespressif32 @ ~3.20017.0
; v4 -> v5 flash size from 1955 to 2238 KB on S3 ! esp32 > 100%...
; v5 resulting in FastLED hickups on all listed versions:
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/2024.07.00/platform-espressif32.zip ; Jul 15, 2024 espressif Arduino core 3.0.2 / IDF 5.1.4: error: no matching function for call to 'NetworkClientSecure::setCACertBundle(const uint8_t [], int)'
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip ; Dec 16, 2024 Arduino core 3.1.0 based on IDF 5.3.2.241210
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip ; Jan 19, 2025 Arduino core 3.1.1 based on IDF 5.3.2.241224
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip ; March 28, 2025 Latest release! ESP-IDF v5.4.1-1-g2f7dcd862a-dirty / Arduino v3.2.0
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip ; June 2025 not 54.03? used in latest upstream ESP-IDF v5.3.2-584-g489d7a2b3a-dirty / Arduino v3.1.3
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip ; latest FastLED see https://github.com/FastLED/FastLED/issues/1903 ESP-IDF v5.4.1-1-g2f7dcd862a-dirty / Arduino v3.2.0
; Parallel LED Driver crashes on this
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21/platform-espressif32.zip ; latest sveltekit
; installed https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.4/esp32-arduino-libs-idf-release_v5.4-858a988d-v1.zip at 20250814
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.30-2/platform-espressif32.zip ; Aug 16
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
; https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.5/esp32-arduino-libs-idf-release_v5.5-b66b5448-v1.zip
; platform = espressif32 @ 6.12.0 ... check https://github.com/platformio/platform-espressif32/releases
;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them)
; platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.06.02/platform-espressif32.zip ;; Tasmota Arduino Core 2.0.9 with IPv6 support, based on IDF 4.4.4
;from 92% to 71% !!! Flash: [======= ] 71.8% (used 1412441 bytes from 1966080 bytes)
; platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.06.00/platform-espressif32.zip
; platform = https://github.com/tasmota/platform-espressif32/releases/download/2025.05.30/platform-espressif32.zip ;; Platform Tasmota Arduino Core 3.1.3.250504based on IDF 5.3.3.250501platform_packages
; platform_packages = framework-arduinoespressif32 @ 3.1.3
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip ; check latest: https://github.com/pioarduino/platform-espressif32/releases
build_flags =
${factory_settings.build_flags}
${features.build_flags}
-D BUILD_TARGET=\"$PIOENV\"
-D APP_NAME=\"MoonLight\" ; 🌙 Must only contain characters from [a-zA-Z0-9-_] as this is converted into a filename
-D APP_VERSION=\"0.9.1\" ; semver compatible version string
-D APP_DATE=\"20260411\" ; 🌙
-D PLATFORM_VERSION=\"pioarduino-55.03.37\" ; 🌙 make sure it matches with above plaftform
-D FT_MOONBASE=1
-D HTTPD_STACK_SIZE=8192 ; default 4096 but not enough for more complex read and update , 5120 not enough when switching from FastLED to parallel LED driver
-D SVELTEKIT_STACK_SIZE=6144 ; psramFound() ? 8 * 1024 : 6 * 1024🌙 4096 to 8192 / 6144
; 🌙 Move ESP32SvelteKit (HTTP/WebSocket) to Core 1 (APP_CPU) to avoid WiFi preemption on Core 0
-D ESP32SVELTEKIT_RUNNING_CORE=1 ; except when having only one core
-D ESP32SVELTEKIT_LOOP_INTERVAL=20
; Uncomment EMBED_WWW to embed the WWW data in the firmware binary
-D EMBED_WWW
; Uncomment to configure Cross-Origin Resource Sharing
-D ENABLE_CORS
-D CORS_ORIGIN=\"*\"
; Uncomment to enable informations from ESP32-Sveltekit in Serial Monitor
; -D SERIAL_INFO // 🌙 this looks redundant as ESP_LOG is also showing almost the same
; Uncomment to skip SSL certificate verification when downloading firmware updates
-D DOWNLOAD_OTA_SKIP_CERT_VERIFY
; D E B U G B U I L D F L A G S
; ===============================
; These build flags are only for debugging purposes and should not be used in production
-D CONFIG_ARDUHAL_LOG_COLORS ; Enable Arduino HAL color output
-D CONFIG_LOG_COLORS=1 ; 🌙 Enable ESP-IDF color output
; Uncomment to show log messages from the ESP Arduino Core and ESP32-SvelteKit
-D CORE_DEBUG_LEVEL=4 ; Arduino debug level (0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose)
; 🌙 === Alternative: ESP-IDF Native Logging (currently disabled) ===
; use when needing to redirect logging using custom_vprintf, e.g. to UI...
; Uncomment these and comment out Arduino logging above to use ESP-IDF logging system
; -DUSE_ESP_IDF_LOG ; Switch from Arduino to ESP-IDF logging
; -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG ; Set compile-time log level per file
; === Experimental/Problematic Options (keep disabled) ===
; -DTAG="\"♾️\"" ; Custom log tag - causes FastLED conflicts
; -DESP_LOG_LEVEL=ESP_LOG_VERBOSE ; Generates redefinition warnings
; -DESP_LOG_LEVEL_LOCAL=ESP_LOG_VERBOSE ; Generates redefinition warnings
; Serve config files from flash and access at /.config/filename.json
;-D SERVE_CONFIG_FILES
; Uncomment to teleplot all task high watermarks to Serial
; -D TELEPLOT_TASKS
; Uncomment and set right values if FT_BATTERY=1 and battery voltage is on pin
; -D BATTERY_PIN=35 ;🌙 not on env:esp32-s3-n16r8v, Pin in board presets
-D BATTERY_MV=4200 ;🌙
; Uncomment to use JSON instead of MessagePack for event messages. Default is MessagePack.
; -D EVENT_USE_JSON=1 ; 💫 switch off for FT_MONITOR
-D NROF_END_POINTS=160 ; 💫 sets _server->config.max_uri_handlers. increase number of endpoints to 160, default is 120, one PsychicEndpoint is 56 bytes -> 8960 bytes
; -O2
; Speed optimization.
; On ESP32 (Xtensa), this aggressively inlines functions and expands templates,
; which can greatly increase function size.
; Large functions may exceed Xtensa's literal (l32r) range limits (±256 KB),
; causing "dangerous relocation: literal target out of range".
; In practice, -O2 is often NOT faster than -Os on ESP32 due to flash/i-cache effects.
-ffunction-sections
; Places each function in its own section.
; Required for --gc-sections to remove unused functions at link time.
-fdata-sections
; Same as above, but for global/static data.
; Allows unused data to be removed by the linker.
-Wl,--gc-sections
; Linker flag: removes unused functions and data.
; Essential for minimizing flash usage.
; Without this, unused library code stays in the final binary.
-fno-exceptions
; Disables C++ exception handling.
; Removes unwind tables and exception support code.
; HUGE flash savings (~10–20% typical on ESP32 projects).
; Must ensure no code throws or relies on try/catch.
; -fno-rtti
; Disables Run-Time Type Information (dynamic_cast, typeid).
; Only affects C++ compilation.
; If applied globally, C compiler emits a harmless warning.
; Flash savings are usually small unless dynamic_cast/typeid are used heavily.
; Most embedded projects see little to no gain.
; build_unflags =
; -frtti
; Removes explicit RTTI enable flag if framework forces it.
; In most Arduino/ESP32 setups this is unnecessary.
; -Os (not unflagged, so stays active)
; Default ESP-IDF / Arduino-ESP32 optimization level.
; Optimizes for size.
; Keeps functions smaller and avoids Xtensa literal pool overflow issues.
; Removing this and using -O2 can cause:
; "dangerous relocation: l32r: literal target out of range"
; Usually safer to keep -Os globally and selectively optimize hot paths.
; #pragma GCC push_options #pragma GCC optimize ("O3") void hotFunction() {} #pragma GCC pop_options
;
lib_compat_mode = strict
; S T A T I C A N A L Y S I S
; ===============================
; Run (checks only .cpp files via pio check):
; pio check -e esp32-s3
; Run (full check including .h files — recommended):
; ~/.platformio/packages/tool-cppcheck/cppcheck \
; --enable=warning --suppress=missingInclude --suppress=missingIncludeSystem \
; --inline-suppr --language=c++ --std=c++20 \
; -DPLATFORMIO=1 -DFT_MOONLIGHT=1 -DFT_MOONBASE=1 \
; $(find src -name "*.cpp" -o -name "*.h" | grep -v moonmanpng)
; Inline suppressions: // cppcheck-suppress <id>
check_tool = cppcheck
check_skip_packages = yes
check_severity = medium
check_flags =
cppcheck: --enable=warning
--suppress=missingInclude
--suppress=missingIncludeSystem
--inline-suppr
; Uncomment to include the a Root CA SSL Certificate Bundle for all SSL needs
; Needs -D FT_DOWNLOAD_FIRMWARE=1 and -D FT_NTP=1
board_build.embed_files = src/certs/x509_crt_bundle.bin
; Source for SSL Cert Store can bei either downloaded from Mozilla with 'mozilla' ('https://curl.se/ca/cacert.pem')
; or from a curated Adafruit repository with 'adafruit' (https://raw.githubusercontent.com/adafruit/certificates/main/data/roots-filtered.pem)
; or complied from a 'folder' full of *.pem / *.dem files stored in the ./ssl_certs folder
; board_ssl_cert_source = mozilla
board_ssl_cert_source = adafruit
monitor_speed = 115200
monitor_filters =
; colorize ; 🌙 maybe for USE_ESP_IDF_LOG but certainly not needed for Arduino logging
esp32_exception_decoder
log2file
board_build.filesystem = littlefs
extra_scripts =
pre:scripts/build_interface.py
pre:scripts/generate_cert_bundle.py ; comment if no internet (or developing), GitHub CI complains about this since
scripts/merge_bin.py
scripts/rename_fw.py
scripts/save_elf.py
lib_deps =
ArduinoJson@>=7.0.0
elims/PsychicMqttClient@^0.2.4
ElectronicCats/MPU6050 @ 1.3.0 ; for D_IMU.h driver
; https://github.com/hanyazou/BMI160-Arduino.git ; hanyazou/BMI160-Arduino#057f36e002bee0473a54fcedf41b93acad059568 ; @ ^1.0.0 ; for BMI160
;💫
[moonlight]
build_flags =
-D FT_MOONLIGHT=1
-D FT_MONITOR=1
-D EFFECTS_STACK_SIZE=3072 ; psramFound() ? 4 * 1024 : 3 * 1024
-D DRIVERS_STACK_SIZE=6144 ; psramFound() ? 4 * 1024 : 3 * 1024, 4096 is sufficient for now. Update: due to FastLED audio I had to increase to 6144 (might want to move audio to a separate task)
; -D FASTLED_TESTING ; causes duplicate definition of initSpiHardware(); - workaround: removed implementation in spi_hw_manager_esp32.cpp.hpp
-D FASTLED_BUILD=\"20260411\"
lib_deps =
https://github.com/FastLED/FastLED#c83f7632c14933dcf70012c25135fae42ce477ce ; 20260411
; https://github.com/FastLED/FastLED#335a142c54124cf7e87e17db13c4a8e70bcc7dcd ; 20260406 band[0] fixed
; https://github.com/FastLED/FastLED#f72b5b6a0725368f2bccd0e58c8c911e74c439a1 ; 20260405 'FL_LOGE' was not declared in this scope; did you mean 'FL_E'?
; https://github.com/FastLED/FastLED#eca4af576737353e703866fa54d4c897cebb9208 ; 20260404 third party Yves link errors
; https://github.com/FastLED/FastLED#682179f8c6c4697c36c11c9c764f9a326ad758ce ; 20260331 ✅
; https://github.com/FastLED/FastLED#a8b45adae2becc22beb287449c89eb1ad9a3df04 ; 20260328
; https://github.com/FastLED/FastLED#d80b75717af8d430e5b17fda36825661d8d4acad ; 20260327
; https://github.com/ewowi/FastLED#8138a6355972c1bbfcd3a7f91219dc73a4f3e14e ; 20260319
; https://github.com/FastLED/FastLED#27344aefb5442b239e91073bffc1858647d11a4b ; 20260319
; https://github.com/FastLED/FastLED#06295c54a0a4a57aef573a62a8d69dc1e0218dcd ; 20260318
; https://github.com/ewowi/FastLED#507b851fbc5fb266559cf1708920f9d094eac81c ; 20260318
; https://github.com/FastLED/FastLED#97ab2971548687c8d4bafc297d5becb3a42ef506 ; 20260315
; https://github.com/FastLED/FastLED#2bbf104f1c9da3b51d322933dad4d50cee483ee9 ; 20260315 compile errors
; https://github.com/FastLED/FastLED#34ba2f752814550a0d7f8545b7926298fbdc4790 ; 20260312 ✅slow websockets on FastLED Driver
; https://github.com/FastLED/FastLED#639e56a6a6d22794504d264276540c95cd8c352f ; 20260310 slow websockets
; https://github.com/FastLED/FastLED#9b195b4ff9d315d9754398d14962ad7cfb764e53 ; 20260309 ✅
; https://github.com/FastLED/FastLED#47f0a2c95f3491ac4f0f00d2845ebac4cdd29988 ; 20260308 7:24 AM used in v.0.9.0 ✅ also slow websockets on March 12 !! not on March 8 ???
; https://github.com/FastLED/FastLED#98422f4dc885b9c8c12efeab738ee2d705e0bfa5 ; 20260307 12:17PM ✅
; https://github.com/FastLED/FastLED#f3f7fda13533d835172400d1e0d4eacf9017d52e ; 20260306 / fs_sdcard_arduino.hpp:5:10: fatal error: platforms/fs.h: No such file or directory
; https://github.com/FastLED/FastLED#a7e93f7fba3fb6f970eea308072e66dd66403c3e ; 20260306 3 hours ago
; https://github.com/FastLED/FastLED#fe389a40ba2ab730aa1de82d883f0bdb3b22f226 ; 20260305 compile errors
; https://github.com/FastLED/FastLED#6d92ea02e5a82da54406e29304ea9217d1c62c08 ; 20260305 watchdog -> no watchdog if no onX in FL Audio ✅
; https://github.com/FastLED/FastLED#687994b029e0bc8827febca5b669db6162db8808 ; 20260305 refactor macro's watchdog
; https://github.com/FastLED/FastLED#8ae027610777cd47e5a2371699a709bf9faa24a6 ; 20260304 fix toolchian works
; https://github.com/FastLED/FastLED#a4afcbaf68b763b829a8d9b9ac3c021289f7d59c ; 20260304 compile error (TAG)
; https://github.com/FastLED/FastLED#8ae027610777cd47e5a2371699a709bf9faa24a6 ; 20260304
; https://github.com/FastLED/FastLED#7e133f8f39480cac7ca5876fc78c980f874b527d ; 20260225 10:03 AM bass/mid/high looks nervous / all or nothing, doens't align with audio sweep (https://www.youtube.com/watch?v=PAsMlDptjx8)
; https://github.com/FastLED/FastLED#5d7ce6f1fcd1cf3cccdc641636c66dd46ade44fc ; 20260224 9:16 PM FastLED driver websocket issue
; https://github.com/FastLED/FastLED#8adee9130ea1849da6f9d01578171016e69f18c1 ; 20260224 8:35 PM FastLED driver websocket issue
; https://github.com/FastLED/FastLED#56d49b14796fa14e4fcc3f394256ae0bbe509b65 ; master 20260224 8:49 AM (fix fl_* functions) ; FastLED driver websocket issue
; https://github.com/FastLED/FastLED#6017ce6b94552fd57f5c0be60592902d8111b470 ; 20260224 5:15 fix c6... not working ❌
; https://github.com/FastLED/FastLED#629a1e468fd823a6834c1bd6430fedea522089ed ; 20260224 4:17 fix spam ... compile error
; https://github.com/FastLED/FastLED#8c0015af87908cb641907df69061321f6a306f0e ; 20260224 4:15 Channel engine ... compile error
; https://github.com/FastLED/FastLED#4cef007214bdf70039576ccf60c9384981c06a0d ; 20260224 4:13 isqrt32 ... working ✅
; https://github.com/FastLED/FastLED#595150340cb0034b50328bee8eaaaceaeb570dc7 ; 20260224 2:48 AM add filtering to audio detectors working
; https://github.com/FastLED/FastLED#d03ffd69c68f1a00f883243f78b2a0e9bfb66298 ; master 2026023 6:15AM (fix no preamble for the UCS led chipset) websocket working!
https://github.com/ewowi/WLED-sync#25f280b5e8e47e49a95282d0b78a5ce5301af4fe ; sourceIP + fftUdp.clear() if arduino >=3 (20251104)
; 💫 currently only enabled on s3 as esp32dev runs over 100%
[livescripts]
build_flags =
-D FT_LIVESCRIPT=1
lib_deps =
https://github.com/ewowi/ESPLiveScript.git#48715099a9c82cc914efe576b70c7a7364f258ce ; 20260402 fix setRGB(random16(NUM_LEDS), CRGB(0, 0, 255));
; https://github.com/ewowi/ESPLiveScript.git#bd364c3bf08af2fb3eb4c142c86268403b6ce7e6 ; 20260328 stack size argument and tasks in psram
; https://github.com/ewowi/ESPLiveScript.git#e02c2dccdd5044c9aa3edb874d26759afb0e1cb9 ; 02-11-2025 fix warnings
; https://github.com/hpwit/ESPLiveScript.git#9f002b4ec450cd47f5d417bfaddd616dd764d1f3 ; vjson 16-06-2025 ; Comment if FT_LIVESCRIPT=0
; https://github.com/hpwit/ESPLiveScript.git#6f86b6e ; vjson 09-06-2025 ; Comment if FT_LIVESCRIPT=0
; https://github.com/hpwit/ESPLiveScript.git#4a0cb82 ; vjson 09-06-2025 ; Comment if FT_LIVESCRIPT=0
; https://github.com/hpwit/ESPLiveScript.git#cccfc0b ; notokay
; https://github.com/hpwit/ESPLiveScript.git#7b52eca ; okay
; https://github.com/hpwit/ESPLiveScript.git#7b97f74 ; okay
; https://github.com/hpwit/ESPLiveScript.git#29ced05 ;
; https://github.com/hpwit/ESPLiveScript.git#4074cb5 ; okay
; https://github.com/hpwit/ESPLiveScript.git#7286d31 ; vjson 24-05-2025 ; Comment if FT_LIVESCRIPT=0
; https://github.com/hpwit/ESPLiveScript.git#afc1d6a ; vjson 24-05-2025 ; Comment if FT_LIVESCRIPT=0
; https://github.com/hpwit/ESPLiveScript.git#62ba8ac ; vjson 24-05-2025 ; Comment if FT_LIVESCRIPT=0
; https://github.com/hpwit/ESPLiveScript.git#3b1d1b6 ; v4.3 07-03-2025 ; Comment if FT_LIVESCRIPT=0
; https://github.com/hpwit/ESPLiveScript.git#39e9409 ; 1.3.2 / v4.2 15-02-2025 ; Comment if FT_LIVESCRIPT=0
;For all boards
[ESP32_LEDSDRIVER]
build_flags =
-D ESP32_LEDSDRIVER
lib_deps =
; https://github.com/ewowi/I2SClocklessLedDriver.git#c9b12fc ;#dev 20240704 (latest at 20241023)
; https://github.com/hpwit/I2SClocklessLedDriver.git#5414935 ;#dev 20240704 (latest at 20241023)
https://github.com/ewowi/ESP32-LedsDriver.git
[HP_ALL_DRIVERS]
build_flags =
-D HP_ALL_DRIVERS
-D HP_ALL_BUILD=\"20260410\"
lib_deps =
; https://github.com/hpwit/I2SClocklessLedDriver.git#a2901a51f9303c96db93c4834513d7f36991129c ; main phase 9 ✅ +++++
; https://github.com/hpwit/I2SClocklessLedDriver.git#9c9c5acd3136db6cd7255a3038c79559e9f91cb1 ; main phase 9 + fixes + more fixes and more
; https://github.com/hpwit/I2SClocklessLedDriver.git#35bd75389dc3042ad7fcd0e2ccccdd9853f1562f ; main phase 9 + fixes + more fixes
; https://github.com/hpwit/I2SClocklessLedDriver.git#7402d8a434afdacdb139d7ecb1a7530066ba70ac ; main phase 9 + fixes
; https://github.com/hpwit/I2SClocklessLedDriver.git#b4b2f57ae17f628982c3ad5e27aa4d7abfbc05da ; main phase 9
; https://github.com/hpwit/I2SClocklessLedDriver.git#02086972ab5cf3e406fbb71661576690bc1a79b4 ; main phase 8
; https://github.com/hpwit/I2SClocklessLedDriver.git#b07a4c47ff85fe888e565b080b7cf856aeca607c ; main phase 7
; https://github.com/hpwit/I2SClocklessLedDriver.git#5b3699cdcb0e20304196b6ef366e180805358af8 ; main phase 6 ❌❌ [ 5458][W][I2SClocklessLedDriver.h:1343] showPixelsImpl(): [TAG] sem wait too long
; https://github.com/hpwit/I2SClocklessLedDriver.git#375382ae95fd66ac227b58d517e917028cfe20f0 ; main phase 5 ✅✅
; https://github.com/hpwit/I2SClocklessLedDriver.git#1ec96fffb58730708f93a94f5d237c99a7b98003 ; main phase 2 and 3 ✅
https://github.com/hpwit/I2SClocklessLedDriver.git#a736f5ecb1d71056521f8054295a8326908550d4 ; main 20260406: release 1.4
; https://github.com/hpwit/I2SClocklessLedDriver.git#54db938cce6943f149791fb0558fecd12682959a ; dev 20260406: linting applied
; https://github.com/hpwit/I2SClocklessLedDriver.git#0996b637b1770e8f8efc15d01c55f512e7d36033 ; dev 20260319: add RGBCCT + mem mgmt + fixes
; https://github.com/hpwit/I2SClocklessLedDriver.git#01f67930a1fee95a2b33e79ec108f3fbd28f3825 ; dev 20260318: add RGBCCT + mem mgmt
; https://github.com/hpwit/I2SClocklessLedDriver.git#a411023b3f7bfad727e5b2835719af39e56f3de1 ; dev 20260318: add RGBCCT
; https://github.com/hpwit/I2SClocklessLedDriver.git#4548eee0ada619679216793452af730c06107a1f ; dev 20260307: setGamma arguments in rgb order, sem wait log to 500ms, small fixes
; https://github.com/hpwit/I2SClocklessLedDriver.git#052a84576eb6c136539b7547d50724674ed22ee8 ; dev 20260120: ESP32-D0: Remove ESP_INTR_FLAG_IRAM from esp_intr_alloc
; https://github.com/hpwit/I2SClocklessLedDriver.git#0f15e79789846591dc2e68ff3d18fb21bac28b49 ; dev 20260118: Add extractWhiteFromRGB, total_leds 32 bits (allow > 65K LEDs)
; https://github.com/hpwit/I2SClocklessLedDriver.git#4363655d3921fc4f6a40f13dd33d368e93d59ca3 ; dev 20260102: Add deleteDriver checks on DMABuffersTampon
; https://github.com/hpwit/I2SClocklessLedDriver.git#131988ed9f997bc3059dc2af26e3e15a3013247f ; dev 20251231: use p_w for rgbw (https://github.com/hpwit/I2SClocklessLedDriver/pull/50)
; https://github.com/hpwit/I2SClocklessLedDriver.git#3dedc755effb10bd7aaadef068d110c8431ab60e ; dev 20251130: revert part of the sk6812 tweaks
; https://github.com/hpwit/I2SClocklessLedDriver.git#5c234c1431f012750b77fee48966d87c5afa496f ; dev 20251120: sk6812 tweaks...
; https://github.com/hpwit/I2SClocklessLedDriver.git#3b030e760b8a933bf3bae4c66dce90bb6271a3b5 ; dev 20251026: no COLOR_ORDER_X (set explicitly)
; https://github.com/hpwit/I2SClocklessLedDriver.git#d42695a1da3d3db3b0f99f5731248c696de57180 ; dev 20251025: strange behavior with initled with custom channels
; https://github.com/hpwit/I2SClocklessLedDriver.git#58fd98b3fb9d963c551fe65c3a90efa1d50a28b2 ; dev 20251025: initled and updateLeds with custom channels
; https://github.com/hpwit/I2SClocklessLedDriver.git#1c519f4e195118491933d9f0f0b514ead8f6b6aa
; https://github.com/hpwit/I2SClocklessLedDriver.git#8f0ed49eaf82730479c9e775df811fd8097dddd8 ; dev 20251021: updateDriver + deleteDriver + uint16_t lenghts
; https://github.com/hpwit/I2SClocklessLedDriver.git#90967a0ec5803c80b18041d8f9eb4f917f60182c ; dev 20251020: setGlobalNumStrips
; https://github.com/hpwit/I2SClocklessLedDriver.git#6af7c8ce35021afb251d44e119a7a3d74fd087e4 ; dev 20251019: .h/cpp + setShowDelay
; https://github.com/hpwit/I2SClocklessLedDriver.git#e25ddeeb4c2f8c702f0a98ab3d47627dad05905a ; dev 20251017: no waπrnings
; https://github.com/hpwit/I2SClocklessLedDriver.git#b8d9d55e47c6f8dacaa106dc3b122b7e412efea9 ; dev 20251016: uint8_t pins
; https://github.com/ewowi/I2SClocklessLedDriver.git#eeb429d79b5b24facb5e8164e8588bdf526c6107 ; dev 20251007: prepare for ESP32-P4
; https://github.com/ewowi/I2SClocklessLedDriver.git#f0d55a42f98b9b24f95c83b59c9f55ef83c8034e ; dev 20250921: DMA buffer variable and psram
; https://github.com/ewowi/I2SClocklessLedDriver.git#17aaa565d3c8623de64191d83bf0747749aa3977 ; dev 20250920: DMA buffer variable and psram
; https://github.com/ewowi/I2SClocklessLedDriver.git#9beeedb2d4ef45206b55731e07066e4775434c0f ; testint3, 20250828 2:50
; https://github.com/hpwit/I2SClocklessLedDriver.git#3dc6cea7b7e5c605f4303ff3c9ba79654bee4d85
; https://github.com/ewowi/I2SClocklessLedDriver.git#716ecd218215804cbe14753480ef657ad8e96a74 ; dev 20250809 11:52: correct gamma bug
; https://github.com/hpwit/I2SClocklessLedDriver.git#1616a33295b3009033bf47d30d0c88619997220a ; dev 20250801 4:10PM (before test int), working 54.03.21
; https://github.com/hpwit/I2SClocklessLedDriver.git#4a6b4392206daaf56424f99627e4367b9d87af13 ; 20250804 3:53PM cache region crash
; https://github.com/hpwit/I2SClocklessLedDriver.git#a7d3dafd005d059a8fb680927567cdd37914ed01 ; dev 20250804 12:05PM cache region crash
; https://github.com/hpwit/I2SClocklessLedDriver.git#6bf1400b2fece454bccc53a07bb84258c266b198 ; testint2, 20250804 10:14PM not working yet
; https://github.com/ewowi/I2SClocklessLedDriver.git#d8cdb31f8b0d52c0562eb5b0ce4723e26f0dc62f
; https://github.com/ewowi/I2SClocklessLedDriver.git#5d5508ca38a15497392950d4249cd0d910c3505d
[HP_VIRTUAL_DRIVER]
build_flags =
-D HP_VIRTUAL_DRIVER
lib_deps =
https://github.com/ewowi/I2SClocklessVirtualLedDriver#ce6bd17 ; 2025-02-26
; U N I T T E S T S
; ===============================
; Run: pio test -e native
[env:native]
platform = native
test_framework = doctest
; Override inherited [env] settings that are ESP32-specific
framework =
extra_scripts =
lib_deps = ArduinoJson@>=7.0.0
lib_ignore = PsychicHttp, framework
build_src_filter = -<*> +<native_stub.cpp>
lib_compat_mode = off
board_build.embed_files =
board_build.filesystem =
board_ssl_cert_source =
build_flags =
-std=c++17
-Isrc
-Isrc/MoonBase
-Isrc/MoonBase/utilities
-I.pio/libdeps/esp32-s3/FastLED/src
-I.pio/libdeps/esp32-s3/FastLED/tests
; to do
[MM_HUB75_DRIVER]
build_flags =
-D MM_HUB75_DRIVER
lib_deps =
; https://github.com/... ;#integration ;ewowi repo adds some proposed PR's and makes sure we don't have unexpected updates