🚀 [Success] Huidu HD-WF2 (ESP32-S3) HUB75 Setup Guide for WLED-MM #322
Replies: 2 comments
-
|
A couple of tweaks for better performace and stability. |
Beta Was this translation helpful? Give feedback.
-
|
Hint: some flags proposed by @hirofairlane do nothing, and can be skipped also the flags to select the platform version are inconsistent, better use platform = ${esp32.platformV4} ;; standard arduino-esp32 2.0.9
platform_packages = ${esp32.platformV4_packages}If you want to disable audioreactive microphone input, use this -D SR_DMTYPE=254 ;; set AR default mode to 'Network Receive Only' to prevent driver conflicts.A word of caution: the board is actually 4MBtest with older HD-WF2 boards showed that only 4MB of flash are usable, so an "8MB" build will get into trouble once you start saving presets. It might be better to try the "4MB" buildenv To reduce RAM usage, you could try to reduce JSON buffer, for example -D JSON_BUFFER_SIZE=18432 -D MIN_HEAP_SIZE=6144
;; -D MAX_SEGMENT_DATA=40960 ;; default 32767
-D WLEDMM_SAVE_FLASHLines 2196 to 2228 in 7019f29 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
After many hours of trial and error, I’ve finally managed to get a stable WLED-MM setup on the Huidu HD-WF2 board (ESP32-S3).
I initially tried using the standard pre-compiled binaries, but they all resulted in immediate boot loops and filesystem corruption (Superblock 0x0 errors). For this specific board, all generic images I tried lead to a boot loop.
How I solved it
The breakthrough came from using the esp32S3_8MB_M environment as a base and applying some critical optimizations. That lead the board to a stable working status, with some warnings that haven't affected the performance.
Switching to flash_mode = dio: The standard QIO mode was too unstable when the HUB75 driver was active, leading to flash write failures.
Resource Optimization: Since this board lacks PSRAM, the system was running out of heap memory. By stripping down unused modules (Alexa, Loxone, etc.) and forcing WLED_MAX_SEGMENTS=1, the ESP32-S3 finally had enough "breathing room" to handle the 2D matrix effects.
My setup:
platformio_override.ini
Flashing tip:
To flash this board, use a USB-A to USB-C cable connected to the USB-A female port on the Huidu board.
The board must be powered with 5V via the screw terminals while flashing.
Beta Was this translation helpful? Give feedback.
All reactions