Commit Graph

5327 Commits

Author SHA1 Message Date
Frank
a0514bb7ee fix compiler warning 2024-05-17 21:40:59 +02:00
Frank
0c7450407e WLEDMM_TWOPATH - use I2S driver for second output
* TWOPATH is up to 20% faster in some situations.
* user_print for showing the driver unit (I2S#n, RMT#x) on serial
2024-05-17 21:24:10 +02:00
Frank
d29a4e3ead (experimental) adding NeoPixelBus 2.7.9 2024-05-17 21:20:55 +02:00
Frank
0c6c707c6b robustness improvements for game of life
* fixed: dataSize could be too small if size is not a multiple of 8
* use size_t for memory size
* clear LEDS on first run - just to make sure that buffer optimizations in segment class work as expected
2024-05-16 17:31:46 +02:00
Ewoud
83d3f27c8c Merge remote-tracking branch 'Brandon502/mdev' into mdev 2024-05-16 15:21:57 +02:00
Blaz Kristan
9feec7f24e Compiler warning fix 2024-05-16 00:07:48 +02:00
Blaz Kristan
64b1d76893 Palette loading optimisation
- fixes #3978
- FX: Firenoise can use selected palette
2024-05-16 00:07:18 +02:00
Frank
e17c30ebd7 Merge pull request #3961 from Brandon502/0_15
Added Pinwheel Expand 1D ->2D effect mapping mode
2024-05-15 22:35:18 +02:00
Troy
118163d982 Didn't work. Reverting. 2024-05-13 01:16:27 -04:00
Brandon502
6d2fc5040c Game of Life Change
Removed sizeof(byte)
2024-05-11 17:03:58 -04:00
Troy
250000de08 Removed check for WLEDMM_SLOWPATH as it breaks WLEDMM_SLOWPATH
Seemingly this breaks WLEDMM_SLOWPATH, which forces RMT for all channels to reduce glitching in big installations. This check actually makes the glitching much worse versus completely fixed in these situations, for reasons I don't fully understand yet.
2024-05-11 12:37:39 -04:00
Frank
2144613423 compatibility with upstream arduinoFFT 2.x
its still recommended to use the softhack007 version - -> optimized for ESP32 boards, and  reduced memory footprint
 https://github.com/softhack007/arduinoFFT.git#develop @ 1.9.2
2024-05-11 13:57:49 +02:00
Frank
1cd18e7f08 Live preview: faster handling of "off" 2024-05-10 19:22:41 +02:00
Frank
7b58727254 bugfix for sound sync - fftResult[] did not use 255
transmitData.fftResult[] and fftResult[] are both uint8, no need to constrain the value.
2024-05-08 21:39:38 +02:00
Frank
5a377103b5 small accuracy improvement
(int)currentResult is a truncation, so we need to add 0.5 for proper rounding.
also changed inefficient "constrain" into faster max(min( ...))
2024-05-08 21:04:07 +02:00
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
adf5afe84a include the GPLv3 permission statement in some MM-specific files
Please note that these statements are included for clarification purposes only.
WLED-MM specific source code is always provided under GPLv3, see LICENSE.
2024-05-08 12:52:07 +02:00
Brandon502
86a18ce6c2 Game of Life changes
Helper functions are now static and the arraySize parameter was removed. Added failsafe for repeat patterns.
2024-05-07 17:26:48 -04:00
Brandon502
9b3f644737 Game of Life changes
Uses struct to store values. Changed glider check method.
2024-05-07 15:57:30 -04:00
Frank
1235cd5a53 oops
remove accidentally committed file
2024-05-07 17:19:18 +02: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
Frank
6c0b73be32 Update platformio.ini
* added ${common_mm.NetDebug_build_flags} to de-dupliate flags
* small update to pico V4 env
* removed refs to non-existing file (comments only)
2024-05-06 12:53:48 +02:00
Frank
44600b1722 make objdump work
Script update based on latest version from Tasmota
* add support for all esp32 variants
* add "-C" : Decode (demangle) low-level symbol names into user-level C++ names.
2024-05-06 11:06:56 +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
a78cd65dcd output_bin.py : fix for mapfile copy
The build script was not looking into the right place, so there was never a .map file dropped into build_output/map/

Builds with the newer arduino-esp32 v2.0.x framework actually generate a .map file that is placed directly next to firmware.bin
2024-05-05 22:16:57 +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
Frank
daec240c52 small improvement for athom music 2024-05-04 13:55:25 +02:00
Frank
ecf7acbc76 AR pin config: SCK == 1 --> PDM microphone 2024-05-04 13:36:56 +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
4597a88516 platformio maintenance
* updates flash size statistics
* moved all MM specific dependencies into [common_mm] to simplify maintenance of versions
* "V4_xp" = experimental arduino-esp32 v2.0.14
2024-05-01 02:15:59 +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
4bfdf9a590 repairing the MM build system (again)
In the future, when anybody feels like "otpimizing" our platformio.ini ->PLEASE contact me before making any changes.
2024-04-30 00:52:14 +02:00
Frank
f4dd5c0068 new buildenv esp32S3_4MB_PSRAM_M
MM for esp32-s3 zero/supermini and lolin S3 mini boards - standard
2024-04-29 23:35:48 +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
d61d57d608 additional partitions file with 512KB filesystem
just enough program space to use S3 mini/zero boards with "optimize for speed"
2024-04-29 13:04:47 +02:00