Commit Graph

4798 Commits

Author SHA1 Message Date
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
Blaž Kristan
680afe972e Merge pull request #3220 from Aircoookie/feature
Feature implementation
2023-05-30 16:52:13 +02:00
Will Tatam
69365fd815 Correctly label effects as 2D 2023-05-30 15:45:26 +01:00
Blaž Kristan
69ab2ce402 Merge branch 'main' into feature 2023-05-30 16:20:20 +02:00
Blaz Kristan
4374930065 npm build 2023-05-30 16:18:11 +02:00
Blaz Kristan
9f3520cba5 Update comments. 2023-05-30 16:09:51 +02:00
Blaz Kristan
d20cdc099d Merge branch 'main' into feature 2023-05-30 15:55:39 +02:00
Blaž Kristan
926e9ff3de Merge pull request #3171 from Aircoookie/seg-groups
Add support for segment sets (groups of segments)
2023-05-30 15:53:39 +02:00
Frank
70c277d8a1 bugfix: don't hide sound sim options for "double note" effects
There was is a typo in this line - apparently the "\u" was missing, so the search string was interpreted as octal char instead of unicode.
2023-05-30 13:23:26 +02:00
Ewoud
d8bc5e2bce Dynamic Peek framerates 🎉 2023-05-29 22:54:23 +02:00
Ewoud
e9a2777ee5 Dynamic Peek framerates 🎉 2023-05-29 21:53:48 +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
Blaz Kristan
0a5aac724a Merge branch 'main' into seg-groups 2023-05-29 21:35:52 +02:00
Christian Schwinne
bb91d5495f Merge branch 'main' into feature 2023-05-29 21:31:40 +02:00
Blaz Kristan
995d94c124 Repeat segment button fix 2023-05-29 21:23:11 +02:00
Aircoookie
ee7036f13d CSS tweaks
Fix repeat segment button remaining hidden
Fix third segment row (offset) alignment in 1D mode
Keep disabled sound simulation modes as comment for reference
New local var for 2D seg UI, improves code legibility
2023-05-29 21:06:10 +02:00
Will Tatam
b62e9f7278 Remove I2C related code from ES8388 and ES7243 as blazoncek proposes that they are not required if we are always using the system default I2C bus 2023-05-29 18:30:48 +01:00
Ewoud
5081cfb891 Bug fix, allocate string to store ledmap name 2023-05-29 19:16:17 +02:00
Ewoud
b1e9f825ca Bug fix, allocate string to store ledmap name 2023-05-29 18:33:49 +02:00
Will Tatam
97449477fe Disable USERMOD_ANIMARTRIX due to lack of memory on esp32_4MB_XL 2023-05-29 17:19:44 +01:00
Will Tatam
3d909f69fa Disable USERMOD_ANIMARTRIX due to lack of memory on esp32_4MB_M_debug 2023-05-29 17:18:29 +01:00
Will Tatam
cfb9c60e2d Disable USERMOD_ANIMARTRIX due to lack of memory on esp32c3dev_4MB_M 2023-05-29 15:23:58 +01:00
Will Tatam
de9839a287 Add animartrix to lib_deps_V4_M 2023-05-29 15:13:42 +01:00
Will Tatam
990b5663ed Merge remote-tracking branch 'upstream/mdev' into animartrix-library 2023-05-29 15:09:11 +01:00
Will Tatam
cfd7d46170 Use animartrix library version without hard 32x32 limnit 2023-05-29 15:05:47 +01:00
Will Tatam
f0f38fbd93 Remove use of SEQMENT.leds and directly call SEGMENT.setPixelColor 2023-05-29 13:41:41 +01:00
Blaz Kristan
5a8a8dc292 Feature implementation
- #2236
  - #1984
Better PSRAM handling
platformio.ini update
On/Off bus handling
2023-05-28 22:50:19 +02:00
Frank
49f2e26ab5 arduinoFFT hash update
to fix the gh build, following latest dev.
2023-05-27 00:00:59 +02:00
Frank
8c5e589020 arduinoFFT hash update
to fix the gh build, following latest dev.
2023-05-27 00:00:08 +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
coral
7d84de6690 Fix errors in DDP implementation (#3193)
* fix DDP spec

* Adjust DDP type byte to latest spec

Allow receiving of RGBW DDP with either old or new bits per channel value

---------

Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
2023-05-26 14:58:40 +02:00
Will Tatam
ab024b5e17 Remove hardcoded CRGB buffer and use the SEGMENT.leds directly. Should also now mean this code handles multiple segments, but untested 2023-05-26 13:40:17 +01:00
Will Tatam
f92b635126 Remove hardcoded CRGB buffer and use the SEGMENT.leds directly. Should also now mean this code handles multiple segments, but untested 2023-05-26 13:22:27 +01:00
Will Tatam
429428637c Remove original prototype code 2023-05-26 13:13:18 +01:00
dependabot[bot]
3520f9e9c2 Bump requests from 2.28.2 to 2.31.0 (#3213)
Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 12:32:59 +02:00
Frank
e2eb3e8ab4 npm run build
npm run build
comment added in platformio.ini
2023-05-25 22:13:41 +02:00