Commit Graph

4633 Commits

Author SHA1 Message Date
Frank
7465be7d42 heap mud scrum
Avoid heap fragmentation.
Use static UDP buffers on ESP32, instead of allocating them from the heap repeatedly.
2023-06-07 18:21:16 +02:00
Frank
d8a68890d4 build fix
removing some bonus colons.
2023-06-07 17:16:49 +02:00
Frank
af6091b493 fixing some memory leaks
* audio_reactive.h: catch memory errors from WiFiUDP
* udp: explicitly flush unused receive buffers.
* wled.cpp: additional debug info about "largest available block"
* FX_fcn.cpp: free _globalLeds before running purgeSegments().
2023-06-07 17:10:32 +02:00
TroyHacks
309e66bf8a Added fallback for ESP8266 to original code. 2023-06-07 10:44:10 -04:00
TroyHacks
7e1d15c87b Merge branch 'audio_fastpath' of https://github.com/MoonModules/WLED into audio_fastpath 2023-06-07 10:35:51 -04:00
TroyHacks
06344aeb41 FFT UDP fush if not read. 2023-06-07 10:35:28 -04:00
TroyHacks
4dc6a388a8 Added code for dealing with low heap, heap debug. 2023-06-07 10:33:26 -04:00
Frank
f0dd66e736 SoundSync: use local static buffer
thanks @netmindz for pointing out.
2023-06-07 14:07:50 +02:00
Frank
74f75b1124 global buffer for UDP sound sync
to prevent memory fragmentation.
* use global (static) buffer for receiving
* added missing flush()
2023-06-07 12:27:39 +02:00
Frank
e6334d8e3d hide "slow strip" when compiling with HEAP_DEBUG 2023-06-07 12:25:41 +02:00
Frank
b6f1a591ee global buffer for UDP sound sync
to prevent memory fragmentation.
* use global (static) buffer for receiving
* added missing flush()
2023-06-07 12:16:22 +02:00
TroyHacks
143f84238f WLED_DEBUG_MAPS flag added 2023-06-06 19:44:02 -04:00
Blaž Kristan
999bec19f1 Merge pull request #3232 from david-sawatzke/ws2801_eth_fix
Fix WS2801 output on boards with ethrnet
2023-06-06 21:18:17 +02:00
David Sawatzke
59f1cdcc82 Fix WS2801 output on boards with ethrnet (similar to #2542)
and the corresponding fix d1fed11d0d
2023-06-06 16:34:22 +02:00
Frank
212cc4d2f1 minor fixie 2023-06-06 13:34:26 +02:00
Frank
176dfcf5a9 npm run build 2023-06-06 13:14:12 +02:00
Frank
cc08d42984 version bump 0.14.0-b15.26 2023-06-06 13:03:36 +02:00
Frank
579dcf0835 align with upstream buildenv and librararies
* esp8266 core 4.1.0
* esp32 "V4" core 5.2.0
* neopixelbus 2.7.5
* use NeoPixelBusLg
* Make SPI bus speed user configurable

* adjust MM buildEnv to match upstream

https://github.com/Aircoookie/WLED/pull/3144

https://github.com/Aircoookie/WLED/pull/3173
2023-06-06 12:58:24 +02:00
Frank
aded74d8b1 suspendStripService improvements
* also suspend Transitions, Notifications and Live LED updates while strip or segments are under update from the Web UI.
2023-06-04 20:30:03 +02:00
Frank
4d64efa5cb sendLiveLedsWs: don't kick clients
... on low memory conditions, as a lot of UI communication depends on web-sockets (thanks @ewoudwijma for pointing this out).
2023-06-04 17:11:26 +02:00
lost-hope
e70b9b2496 MCU Temp Usermod 2023-06-03 09:46:08 +02:00
Troy
35f3f2859a Oops. Bonus brace.
Typo.
2023-06-02 08:16:03 -04:00
Troy
cfc1116249 Force reconnect via Serial input
Type "X" into the serial console to force the network to reconnect.
2023-06-02 08:12:30 -04:00
Troy
62990cda9c Minor edit: typo 2023-06-02 08:10:34 -04:00
Aircoookie
d383bc93c7 Changelog update
Reduce width of ethernet mode dropdown
2023-06-02 10:51:37 +02:00
Sebastian
af88c68fca Buttons: Trigger on button press (instead of release) if all configured presets are the same (#3226)
* Buttons: Trigger when pressing if all configured presets are the same

* Add debounce for immediate rising-edge short press

---------

Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
2023-06-02 10:51:16 +02:00
Frank
be2da7b3e9 minor edit: tab inserted 2023-06-02 01:48:55 +02:00
Troy
53c8f9f8fd Minor edit to remove a space for clarity
Replaced a space with an underscore in heap caps debug for clarity.
2023-06-01 19:40:06 -04:00
Frank
55b0463aa8 heap debug: show total free + fragmentation level 2023-06-02 01:25:06 +02:00
Frank
0f45b4f04a webserver: removing JSON_BUFFER_SIZE for esp32
the default buffer is 16Kb, which should be sufficient.
With PSRAM enabled, we habe JSON_BUFFER_SIZE up to 60Kb.
2023-06-01 23:12:45 +02:00
Frank
dc77c172b2 Merge branch 'mdev' into audio_fastpath 2023-06-01 22:59:20 +02:00
Frank
f300ffdbe9 debug out: flush serial buffer after dumping out ledmap. 2023-06-01 22:57:15 +02:00
Blaz Kristan
130f495fb6 Bugfix multi relay. 2023-06-01 22:17:41 +02:00
Frank
f87783703b platformio.ini: WLED_DEBUG_HEAP for 16MB debug targets 2023-06-01 22:13:14 +02:00
Frank
c052da9d0d Merge pull request #50 from troyhacks/heap_debug
Heap debug via WLED_DEBUG_HEAP
2023-06-01 22:05:36 +02:00
Frank
63b03a4139 Merge branch 'mdev' into audio_fastpath 2023-06-01 21:58:34 +02:00
Frank
404fb566fa partly disable waitUntilIdle() as its still work-in-progress
This disables parts of the new feature that might lead to delays, so basicially there is some detection, but no protection any more.

further development needed --> audio_fastpath branch

compile with -D WLEDMM_PROTECT_SERVICE to enable full protection.
2023-06-01 21:55:46 +02:00
TroyHacks
1b8ebfd652 Added heap debug - enable with WLED_DEBUG_HEAP 2023-06-01 15:34:34 -04:00
Frank
333f5ac2a1 waitUntilIdle() improvements
* protect deserializeMap()
* better handling of recursion in deserializeSegment() and deserializeState
* don't use yield() on esp32
2023-06-01 21:28:46 +02:00
Frank
52fe8e28a3 Merge branch 'mdev' into audio_fastpath 2023-06-01 17:44:36 +02:00
Frank
0a5bfb656d avoid updating strip / segments while draving effects (ESP32 only)
💫 this is the way🌟
A new locking mechanism that allows to wait until strip.service() has completed.
2023-06-01 17:41:36 +02:00
Will Tatam
e99874159d Add USERMOD_ANIMARTRIX to XL builds 2023-06-01 15:15:46 +01:00
Ewoud
36c34b5db8 Merge branch 'mdev' into audio_fastpath 2023-05-31 21:35:24 +02:00
Ewoud
bd7f1678d0 Hack to show Animartrix effects last in effects list 2023-05-31 21:34:19 +02:00
Ewoud
ad5bc0cef0 Merge pull request #46 from netmindz/animartrix-library
Update ANIMartRIX usermod to use 0.42.Beta
2023-05-31 20:46:41 +02:00
Sebastian
9d22a06969 Changes for allowing Alexa to change light color to White when auto-calculating from RGB (#3211)
* Changes for allowing Alexa to change light color to White when auto-calculating from RGB

* Update alexa.cpp

Indention

* Do not rely on global auto white override

(gets white mode from segment light capabilities)

* alexa.cpp: Removed unnecessary whitespaces

---------

Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
2023-05-31 20:12:17 +02:00
dvdavide
e3783e0236 Fix for displaying 1bpp bmp files (usermod EleksTube IPS) (#2988)
* Fix for displaying 1bpp bmp files

* EleksTubeIPS optimizations

* Fixed incorrect paletteSize

* stray tab

---------

Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
2023-05-31 20:11:30 +02:00
Justin Mutter
a5161eb7f1 Use constant for mDNS name to allow setting from my_config.h (#3145) 2023-05-31 17:35:43 +02:00
Frank
c13a5d7070 post-merge
npm run build
2023-05-30 20:49:58 +02:00
Frank
1daeecc7dd Merge branch 'mdev' into audio_fastpath 2023-05-30 20:44:10 +02:00