Commit Graph

4407 Commits

Author SHA1 Message Date
Ewoud
d8bc5e2bce Dynamic Peek framerates 🎉 2023-05-29 22:54:23 +02:00
Frank
859adb3f7a Update platformio.ini: fastled version update
quick fix, until fastLED 3.6.0 packages become available.
2023-05-29 21:48:19 +02:00
Ewoud
5081cfb891 Bug fix, allocate string to store ledmap name 2023-05-29 19:16:17 +02:00
Frank
49f2e26ab5 arduinoFFT hash update
to fix the gh build, following latest dev.
2023-05-27 00:00:59 +02:00
Frank
6d78e46a47 strip.service() optimization
to have more stable frame times, the minimum delay should be calculated from the time BEFORE strip.show() not after.

This optimization increases CPU load and potentially has negative impact on usermods that check for strip.isUpdating(), so its only enabled with WLEDMM_FASTPATH.
2023-05-26 23:37:01 +02:00
Frank
9cb6189611 minor speedup for 2D
* robustness: Segment::height() should never return 0
* Segment::XY(), Segment::virtualWidth() and Segment::virtualHeight() declared inline in fx.h. The compiler will always inline these functions now, avoiding overhead of call/return. "Knowing" the function body might also enable other optimizations.
--> up to 10% speedup in 2D effects.
2023-05-26 23:12:49 +02:00
Frank
e2eb3e8ab4 npm run build
npm run build
comment added in platformio.ini
2023-05-25 22:13:41 +02:00
Frank
df26430e42 audioreactive: replace dynamic buffer with static buffer
using a dynamic array for newSamples[num_samples] was never needed. It was a risks as the buffer was allcated/deallocated with every call of getSamples().
2023-05-25 21:50:44 +02:00
Frank
71153ee832 small debug improvements
- don't set -DNDEBUG -> this flag is "not recommended"
- minor change in deserializeMap() WLED_DEBUG code
2023-05-25 21:50:44 +02:00
Ewoud
5edd5e6592 tiny 2023-05-25 21:50:44 +02:00
Ewoud
4197f98afe package.json and cdata.js: set urls to MoonModules
index.js: add logging (temp) and improve segment view redrawing
wled00.ini: add lps (temp)
wledserver.cpp: show client request done after its done
ws.cpp: show websocket events (temp?)
2023-05-25 21:50:43 +02:00
netmindz
e6fb6c4a50 Merge pull request #39 from troyhacks/ES8388-Lyra-T-Fixes-Test
ES8388 LyraT Fixes
2023-05-25 21:49:52 +02:00
Frank
d8726293bf Merge remote-tracking branch 'upstream/main' into mdev 2023-05-22 02:21:23 +02:00
Frank
63e63ad156 minor speedup for liveview and websockets
it seems that getFreeHeap() needs some time, and blocks other tasks until completion.
sendDataWS() does not need ESP.getFreeHeap() results on esp32.
2023-05-21 21:01:23 +02:00
Frank
fc193408d8 (experimental) use malloc/realloc for customMappingTable
if this works better, we should cherry-pick it into mdev.
2023-05-21 19:38:04 +02:00
Frank
894fdce4b5 Merge remote-tracking branch 'upstream/main' into mdev 2023-05-21 15:21:22 +02:00
Ewoud
ef12aaa60b Temp fix for leds array crashes: size fixed to 10000pixels/30000bytes 2023-05-17 15:07:42 +02:00
Ewoud
40d120146f Merge branch 'mdev' into audio_fastpath 2023-05-17 11:58:43 +02:00
Ewoud
e0d2d28b19 Merge upstream post: temp usermod and new version 2023-05-17 11:50:24 +02:00
Ewoud
c0d5cad198 Merge remote-tracking branch 'upstream/main' into mdev 2023-05-17 11:15:50 +02:00
Ewoud
175375e30d Merge branch 'mdev' into audio_fastpath 2023-05-16 16:02:47 +02:00
Ewoud
21c7347296 Minimal (de)allocs on customMappingTable (only grow, not shrink) 2023-05-16 15:13:30 +02:00
Ewoud
b51972fe41 Merge remote-tracking branch 'origin/mdev' into mdev 2023-05-16 13:12:40 +02:00
Ewoud
d6bc9967d0 Support for large ledmaps
optimize jMapC, enumerateLedmaps and deserializeMap
2023-05-16 13:12:30 +02:00
Frank
72f7f9c555 fix 8266 compile error
*hrmpf* 8266 does not support C++ try-catch and exceptions.
2023-05-15 21:38:23 +02:00
Frank
2e6d58fc70 small LED performance improvement
I've done some experiments, and it seems that using I2S#1 as the _third_ bus improves fps with 3, 4 and 5 LED pins
2023-05-15 21:17:21 +02:00
Frank
6d23eb6874 improve robustness when heap is low
* customMappingTable: allocate using calloc instead of new (new will throw exception if nor enough heap)
* fixing a few minor memory leaks
* ws.cpp: catch out-of-memory in sendLiveLedsWs
* ws.cpp: change interval to 80ms (120 ws very slow...)
2023-05-15 21:15:24 +02:00
Blaz Kristan
1c8f349a62 Bugfix.
- prevent LED flash on realtime end
2023-05-14 20:30:57 +02:00
Blaz Kristan
9f6278ae8a Bugfix.
- disbled transitions/crossfade prevented segment off
2023-05-14 20:29:26 +02:00
Blaz Kristan
380b63a255 Bugfix.
- disbled transitions/crossfade prevented segment off
2023-05-14 20:27:54 +02:00
Blaz Kristan
217004c70c Bugfix.
- disbled transitions/crossfade prevented segment off
2023-05-14 18:18:09 +02:00
Ewoud
fc0c6d9293 Tiny update 2023-05-14 14:31:39 +02:00
Ewoud
18417a5fdd Nodes DDP all - don't try at home yet 2023-05-14 13:47:03 +02:00
Ewoud
7e7d1065e9 Rename usermod_fastled to usermod_animartrix and add in _m 2023-05-13 22:33:03 +02:00
Blaž Kristan
a75608628e Merge pull request #3199 from Aircoookie/serg-eth
Serg74 ethernet board.
2023-05-13 15:29:13 +02:00
Blaž Kristan
33130f39ee Merge pull request #3190 from Aircoookie/octopus
Octopus & Waving Cell 2D effects
2023-05-13 15:27:16 +02:00
Blaz Kristan
cae43e97cd Corner fix 2023-05-13 15:17:49 +02:00
Frank
6317dcb757 swapped-channel workaround needed a bit longer
It seems that ESP-IDF 4.4.5 will (finally) fix this old bug.  hallelujah.

73ca054b80 (diff-02a5aef0ab7d8485b0a165910efaab3dfc450b473eef0bab1b32bccb4ea85c69)
2023-05-12 19:10:51 +02:00
Frank
d5c33df64f file buffer size: back to default
After some experiments, it seems that 256 is indeed the optimal buffer length.
2023-05-12 17:26:36 +02:00
Frank
477aae95fd swapped-channel workaround needed a bit longer
It seems that ESP-IDF 4.4.5 will (finally) fix this old bug.  hallelujah.

73ca054b80 (diff-02a5aef0ab7d8485b0a165910efaab3dfc450b473eef0bab1b32bccb4ea85c69)
2023-05-11 22:57:18 +02:00
Ewoud
5b0551e59c From 0.14.0-b15.23 to 0.14.0-b15.24 2023-05-11 17:45:15 +02:00
Ewoud
fede3dd54c Merge remote-tracking branch 'upstream/main' into mdev 2023-05-11 17:39:12 +02:00
Blaz Kristan
cdfc0f6b71 Temperature usermod rewrite 2023-05-11 17:33:09 +02:00
Ewoud
eb6b890c6b Nodes tab more info + on/off button (WIP)
index.js:
- add callNode
- populateNodes more info and button calling node

remove fetchAndExecute from artifx.js (use the one in index.js) and add parms parameter

index.css: make #nodes div 980px wide
2023-05-11 17:08:33 +02:00
Christian Schwinne
8221b1b7f2 Restore Github actions CI build (#3187)
* Update dependencies

* Do not fail fast

* Disable ESP32 variant CI builds
2023-05-11 14:23:39 +02:00
Ewoud
5935ea1726 Remove a bunch of bins from the default_envs 2023-05-11 14:13:26 +02:00
Frank
f147d7939a Merge branch 'mdev' into audio_fastpath 2023-05-11 13:35:17 +02:00
Frank
692d30048d four-line-display: SSD1309 I2C driver
* SSD1309 I2C driver added (SPI driver was already included)
* minor cleanup to avoid exhaustive "if" for isSPI
2023-05-11 13:34:40 +02:00
Blaz Kristan
cb740d34d7 Bugfix
- SHT enable/disable crash
2023-05-11 12:20:07 +02:00
Blaz Kristan
bf6a18a414 Bugfix
- SHT enable/disable crash
2023-05-10 21:09:28 +02:00