Commit Graph

6502 Commits

Author SHA1 Message Date
Frank
7627fbd989 AR: avoid user confusion between PDM and I2S
"'Generic I2S PDM" -> "'Generic PDM"
unrelated: simplify an ifdef in audio_source.h
2026-02-24 13:10:01 +01:00
Frank
ef63a1a500 (experimental) bugfix for Ethernet Errors when using I2S audio
For "v4" builds only.
See upstream https://github.com/wled/WLED/issues/5391
2026-02-22 21:02:47 +01:00
Frank
f3eda7027f build 2602221 2026-02-22 20:42:54 +01:00
Frank
2914daa3aa fix short black-out when a playlist advances (WLEDMM specific)
* do not call strip.show(), just shedule a "show()" in the next main loop.
* experimental fix for inconsistent state when loading a preset (see upstream https://github.com/wled/WLED/issues/5200)
2026-02-22 20:37:39 +01:00
Frank
ae3a796f8d build 2602201 2026-02-20 18:06:03 +01:00
Frank
325ea2798c oops, missed a few lines in the last commit 2026-02-20 16:03:32 +01:00
Frank
a1555c43a0 move ws LEDs preview buffer into PSRAM
* set DYNAMICBUFFER_USE_PSRAM in build_flags => enable PSRAM support in AsyncWebServerWLED
2026-02-20 15:26:03 +01:00
Frank
269a6a2a86 another "heap too low" fix
fixes the fix
2026-02-20 15:20:15 +01:00
Frank
afeccc60fb ram alloc tuning
* relax checks in d_malloc_only, allow RTCRAM (avoids "unexpected end of JSON input) errors
* debug messages improved
 * set errorflag when d_malloc() or d_calloc() failed
2026-02-20 15:07:14 +01:00
Frank
75c6fe1606 fix "Heap too low!" logic
"step1" (flush udp) was never activated (stupid logic error)
2026-02-20 14:42:39 +01:00
Frank
594af2baf1 use d_calloc for BusNetwork (UDP output) 2026-02-20 01:11:55 +01:00
Frank
e519b4190b add d_malloc_only() for AsyncJSON
major stability improvement, especially on classic esp32.
2026-02-20 01:09:52 +01:00
Frank
8680d13df4 some more cases of missing lang="en"
no, its not written in Danish ;-)
2026-02-19 13:45:00 +01:00
Frank
1ec57df54f add missing lang="en" in some UI pages
prevent MS Edge from suggesting to "translate from Danish" ;-)
2026-02-19 13:31:49 +01:00
Frank Möhle
cce3c0b5d3 psram-aware malloc functions (backport of upstream #4895) (#342)
Introduces new memory allocation functions, based on wled#4895 by @DedeHai

* keep a minimum of 15KB RAM available to UI - improves stability
* S3/S2/C3 automatically use "fast RTC Ram" for small data (reduces fragmentation)
* auto-detects PSRAM (or no PSRAM) when firmware was built with -D BOARD_HAS_PSRAM
* d_malloc() and d_calloc() prefer DRAM if possible (faster), but fall back to PSRAM when free RAM gets low.
2026-02-18 17:57:47 +01:00
Frank
50bb4d2910 I2S_USE_16BIT_SAMPLES does not work
add build error, as the 16bit code does not work any more in esp-idf v4.x
2026-02-17 15:49:38 +01:00
Frank Möhle
279573e366 Disable 16-bit sampling for I2S driver (fix for #333)
Comment out the HUB75 conditional definition of I2S_USE_16BIT_SAMPLES due to compatibility issues.
2026-02-16 23:02:57 +01:00
Frank
b044fc3ab2 classic esp32: always protect gpio16/17 when PSRAM found
more robust in case that users install the wrong "non-PSRAM" build onto their board.
2026-02-16 17:10:47 +01:00
Frank
76cf2d4717 add MIN_EAP_SIZE to build summary 2026-02-16 01:00:33 +01:00
Frank Möhle
4abd056498 fix build of esp32S3_8MB_M
Comment out the lib_ignore line for IRremoteESP8266.
2026-02-16 00:32:29 +01:00
Frank
7b5e62a765 output_bins: show JSON and SEGMENT flags after build 2026-02-16 00:09:40 +01:00
Frank
fb38e855c1 reduce JSON buffer on S3 without PSRAM
leaves more RAM for HUB75 which is very RAM-hungry
2026-02-15 15:39:35 +01:00
Frank
7e2207f384 print hub75 pins to serial at startup 2026-02-15 15:13:38 +01:00
Frank
3f8b182e45 change all S3 8MB and 16MB PSRAM builds to "optimize for speed" 2026-02-15 14:45:18 +01:00
Frank
b25af92ddd pininfo improvements
new PSRAM PIN descriptions for ESP32-D0WDR2-V3 and ESP32-PICO-V3-02
2026-02-13 16:25:48 +01:00
Frank
29355e7c3d use full silicon version (aka chip revision) in startup output 2026-02-13 00:43:18 +01:00
Frank
c85f65e390 better handling of esp32 PICO-D2 and PICO-V3
including PICO models with PSRAM
2026-02-13 00:28:47 +01:00
Frank
fef8de000e free GPIO17 on "ESP32-D0WDR2-V3" (WLED-MM way)
this is a new "package" with on-chip PSRAM. Only gpio16 is reserved for PSRAM on this chip.
2026-02-11 11:48:09 +01:00
Frank
2bd821789b add esp-idf managed folders to .gitignore 2026-02-11 11:22:35 +01:00
Frank Möhle
997d05a1a5 Merge pull request #5338 from wled-install/patch-3
Classic ESP32: GPIO17 is not needed to be reserved for chips with in-package PSRAM (ESP32-D0WDR2-V3 and ESP32-D0WDHR2-V3)
2026-02-11 11:22:35 +01:00
Will Tatam
7e9f3c428e Merge pull request #335 from MoonModules/copilot/suppress-usage-reporting-ap-mode
Suppress usage reporting in AP mode
2026-02-07 20:59:15 +00:00
Will Tatam
c4e14e14e2 Simplify ap check 2026-02-07 20:49:16 +00:00
Frank Möhle
d304e9021c Merge pull request #330 from troyhacks/mdev
Always allow proper serial console on S3/C3/C6/etc under ALL conditions
2026-02-07 12:21:59 +01:00
Frank
e29d42c954 add wifi.ap to json/info (upstream beackport)
backport based on 0af3063127 (diff-6b6413edc70eb5a8b8d037f55e51154ae77788f431721701e949d2f00cd99820)
2026-02-07 00:39:36 +01:00
Frank
a5c6740d96 add P4, bring back lost comment
minor updates
- added ESP32-P4 to USB-CDC whitelist
- restored lost comment
2026-02-06 19:00:48 +01:00
Frank Möhle
0411b7dc6b extend AP mode detection to IP 4.3.2.1
as recommended by the rabbit
2026-02-06 15:29:52 +01:00
Frank Möhle
812c5ca315 Merge pull request #339 from MoonModules/wifiscan_fix
Full WiFi scan (backport of upstream 5351)
2026-02-06 15:03:13 +01:00
Frank Möhle
46800b8f05 remove temporary animartrix override
PSRAM patch is now merged into main version
2026-02-06 15:01:14 +01:00
Frank
20dca89017 adding esp32-S3 build with qspi support, and minor cleanup
* added esp32S3_8MB_PSRAM_M_qspi
* minor cleanup of default buildenv list
* rename esp32S3_8MB_PSRAM_M => esp32S3_8MB_PSRAM_M_opi, added esp32S3_8MB_PSRAM_M as alias
2026-02-06 14:31:46 +01:00
Frank
d727cfd3fe bugfix: ensure that all WiFi channels are scanned
backport of upstream https://github.com/wled/WLED/pull/5351
2026-02-06 12:06:56 +01:00
Troy
a001bd1892 Merge branch 'MoonModules:mdev' into mdev 2026-02-05 16:46:56 -05:00
Frank Möhle
71893cf00d Merge pull request #301 from MoonModules/copilot/fix-hub75-output-list
Fix Hub75 options wrongly appearing in dynamically added LED outputs
2026-02-05 11:44:39 +01:00
Frank Möhle
9d56d1639f Merge pull request #336 from MoonModules/um_pins
show HUB75 and DMX pins in usermods pin dropdown, and fix a bug related to busses without pins.

Previously the pins allocated to HUB75 and DMX were wrongly listed as available 🟢.
2026-02-05 00:24:04 +01:00
Frank
b7d81e7fca bugfix for wrongly disabled PINs
Skips pin arrays for special bus types where pin array doesn't contain GPIO numbers, but allows all other entries
2026-02-05 00:07:22 +01:00
Frank
d591ff8ab8 variable renamed for clarity
isFirstHub =>  isFirstPin
2026-02-04 23:01:15 +01:00
Frank
6ecb872070 initialize new pin arrays 2026-02-04 22:55:19 +01:00
Frank
53c396ecb1 styling
move "Ax" label slightly to the right, "DMX " doesn't need extra space
2026-02-04 22:42:43 +01:00
Frank
fd079d6105 add HUB75 and DMX pins to usermods pin dropdown
these pins were wrongly shown as "available", because the are not stored in the cfg.json part related to LEDs settings.
2026-02-04 22:19:42 +01:00
copilot-swe-agent[bot]
b60b13f503 Add 0.0.0.0 check for extra safety per code review
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2026-02-04 18:27:51 +00:00
copilot-swe-agent[bot]
a48ce54f85 Simplify AP mode check condition per code review
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2026-02-04 18:25:10 +00:00