Commit Graph

3723 Commits

Author SHA1 Message Date
Troy
e08ae84a83 Allow 8 AoftAP clients (for Dom)
Increases the allowed SoftAP clients so folks doing syncing "in the field" can connect more devices without a proper WiFi network.
2024-05-08 12:18:31 -04:00
Frank
546f843f84 ... bugfix fix
avoid double entries in rsvd[]
2024-05-07 16:24:00 +02:00
Frank
3ee99e13fa (bugfix) add SPIRAM pins as "reserved" 2024-05-07 16:02:46 +02:00
Frank
06f94743bf pico board: always protect pin 16+17
runtime detection of PICO boards, to ensure that SPIRAM pins are protected even when users install a non-pico firmware build.
2024-05-07 13:35:16 +02:00
Blaž Kristan
1d5f029b34 Merge pull request #3942 from gaaat98/audioreactive-analog
Enabled some audioreactive effects for single pixel strips/segments
2024-05-07 12:47:10 +02:00
Frank
45d07190c9 -S3: show PSRAM mode (qspi or OPI) in info panel 2024-05-06 20:11:53 +02:00
Blaž Kristan
c3a908634a Merge pull request #3946 from freakintoddles2/0_15
Adds an API parameter to allow the user to skip to the next preset in a playlist at any time
2024-05-05 22:21:04 +02:00
Frank
6261ecc057 Change default for ArduinoOTA (not the same as OTA) 2024-05-04 14:54:22 +02:00
Frank
4378bdda61 build no 2405040 2024-05-04 14:06:24 +02:00
Michael Wyraz
6fa3456e00 Support for wiz smart button 2024-05-04 02:15:44 +02:00
Frank
fc66dcc0ce squeezing a few KB out of builds that are close to 100% flash usage 2024-05-04 01:44:14 +02:00
Frank
70a5d8b843 a few more compile-time infos about enabled/disabled features
helps to understand what you'll get
2024-05-04 01:16:45 +02:00
Frank
ccff478507 make sure that segment buffer is initially aligned with LEDs (MM specific)
The Segment LEDs buffer is used to optimize out "writing the same color". SEGMENT.fill(BLACK) ensures that all LEDs start clean, consistent with the Segment LEDs buffer.
2024-05-02 16:10:07 +02:00
Frank
08d73646fd adding compile-time messages when extra features are enabled 2024-05-01 02:11:28 +02:00
Frank
bf5c95646c small fix for Fireworks 1D (MM specific)
effect did not clean up its canvas initially, leading to sporadic "lost pixels".
2024-04-30 19:09:05 +02:00
Frank
a01d86e8e0 info page cleanup
- re-organize technical infos for better readability
- reduce number of lines added for PSRAM status
- removed duplicate infos
2024-04-30 17:18:32 +02:00
Frank
16e8d9dcdc add error msg when oappend buffer is used up 2024-04-30 17:17:02 +02:00
Frank
e0a4a7c71e minor updates 2024-04-30 17:16:11 +02:00
Frank
714d4850af minor cleanup
* startup message from UM autoplaylist
* zeroCrossingCount added to sound simulation
* debug messages cleanup
2024-04-30 12:47:45 +02:00
Frank
b2646a8489 Update file.cpp
small optimization, based on upstream 0593a078c6  by willmmiles
2024-04-29 16:11:12 +02:00
Frank
f7504dcc36 presets.json PSRAM caching: consider cacheInvalidate
* trying to make the caching mechanism bulletproof.
`cacheInvalidate` is changed when
- autosave usermod updates presets
- a file was upload
* (coding style) fixed some unitialized variables
2024-04-29 16:05:12 +02:00
Frank
b584962334 clear presets.json cache on upload
needed to avoid inconsistent/corrupted presets after upload or restore.
2024-04-29 13:06:18 +02:00
Frank
55552c3e07 Update file.cpp 2024-04-29 00:23:13 +02:00
Frank
de66ec45b7 make ALL_JSON_TO_PSRAM the default
PSRAM optimizations: always enable ALL_JSON_TO_PSRAM and WLED_USE_PSRAM_JSON
2024-04-28 22:56:06 +02:00
Blaz Kristan
56c76458fd Preset caching on chips with PSRAM
- credit @akaricchi
2024-04-28 22:00:20 +02:00
Frank
d058e33df3 slightly reduce flickering during file access
it seems that reading/writing "larger" files from LittleFS causes LED flickering.

This change adds a simple cache for "file not found" results, so that repeated file.exists() calls are avoided.
2024-04-28 18:57:05 +02:00
Frank
bd8df5e5c8 WLEDMM specific adjustments 2024-04-27 19:23:24 +02:00
Blaz Kristan
c723e0043b Bugfix for bugfix
- thanks @softhack007
2024-04-27 19:16:43 +02:00
Blaz Kristan
0572d3bee9 Bugfix
- getPixelColor() for analog
- RMT channel (#3922)
2024-04-27 19:16:43 +02:00
Frank
858610e39b trying to reduce flickering
The NeoPixelBus RMT driver seems to get stalled when ESP.get.... functions are called (big kernel lock?). Also its glitching during flash file access.

This change tries to avoid some conflicts by first checking that the driver is not sending.
2024-04-26 21:21:32 +02:00
Frank
a3da6d604e version bump -b31.38 2024-04-23 17:37:21 +02:00
Frank
e743c9b96c post-merge fixes, upgrade ESPAsyncWebServer 2.2.1 2024-04-23 17:32:38 +02:00
Frank
6e2bd77808 bugfix for Ripple effect (1D mode) - solves #130
bounds check on "w" was not working.
2024-04-22 18:20:18 +02:00
Frank
6c93250cd8 small improvement
addPixelColorXY() is actually the same code as color_add()
2024-04-20 23:24:27 +02:00
Frank
d0f018586e bugfix
comparing uint32_t to fastled CRGB does not work.
2024-04-20 22:42:26 +02:00
Frank
e886ece189 Segment::setPixelColorXY optimization
use a shortcut when the segment is "simple" and just a single pixel needs to be set on HW level.
2024-04-20 22:02:15 +02:00
Frank
657259acc2 Optimization: stop to constantly search for the bus
Adding a caching mechanism to the Bus Manager - up to 30% faster especially when many led pins are used.
2024-04-20 21:57:04 +02:00
Troy
4cbe92f55b minor indent 2024-04-19 17:20:32 -04:00
Troy
56cdfac007 Added WMEDMM_SLOWPATH to force RMT for stability 2024-04-19 16:58:35 -04:00
Frank
34f4905e0b bugfix for 2D Sun Radiation
size of the sun was very small on larger fixtures
2024-04-18 23:23:52 +02:00
Frank
a5b07bc06d bugfix for 2D Polar Lights
on large setups (bigger than 32x32) the effect would only show a small horizontal line.
2024-04-18 22:36:50 +02:00
Frank
93b8c63e2b post PR3904 fixes and improvements
* fix compiler warnings (uninitialized vars, ambiguous  functions calls)
* restore some lost function prototypes
* avoid negative pixel indices
* only use "fast" color_add when there is no risk of  "overshooting" results
* minor optimizations
2024-04-18 21:09:14 +02:00
Blaž Kristan
48c64aecff Merge pull request #3904 from DedeHai/FX_fcn_improvements
added improvements to color scaling and blurring
2024-04-18 19:26:57 +02:00
netmindz
0f79e9b7ff Merge pull request #124 from netmindz/auto-playlist
New Usermod - Auto Playlist
2024-04-16 22:38:56 +01:00
Frank
3fd5e190c4 reduce memory needs of popcorn effect
On a matrix with 52 columns, popcorn was requesting around 30Kb of segment data.
This patch reduces the data to the actually necessary amount based on the "intensity" slider. If intensity is increased, it means that the effect will get a bigger chunk of data allocated - zero'd out but this does not hurt much.
2024-04-16 20:07:51 +02:00
Frank
019cafc5e0 report out-of-memory situations to the user 2024-04-16 19:10:46 +02:00
Frank
acfbe890b3 suspend playlist engine while auto-change is active
* adding suspendPlaylist() to playlist engine code
* autoplaylist usermod calls suspendPlaylist() before switching to another preset
* fix a potential overflow on `lfc` (uint8_t -> uint16_t)
2024-04-16 13:25:21 +02:00
Frank
164c9a12cc minor version upgrade to -b30.37 2024-04-09 21:39:51 +02:00
Frank
8e84dba644 post-merge
this one was almost lost
2024-04-09 21:01:44 +02:00
Blaz Kristan
4093df1de5 WLED 0.14.3 release
- Fix for transition 0 (#3854, #3832, #3720)
- copyright year update
- updated AsyncWebServer to v2.2.0
2024-04-09 20:43:55 +02:00