Frank
1306cc0412
show kernel debug messages in debug builds
2023-08-23 14:42:07 +02:00
Frank
023279c702
8266: minor buildenv updates
...
* -Wno-register not needed any more (solved in FastLED 3.6.0)
* ARDUINOJSON_DEBUG added to debug_flags
* use WLEDMM_PROTECT_SERVICE on 8266, too
2023-08-23 14:42:07 +02:00
Frank
3255530ee3
basic debug support on 8266
2023-08-23 14:40:47 +02:00
Frank
d221745e3f
some improvements
...
* remove some internal variables (soundAgc, multAgc, ....)
* prototype for autoResetPeak(void)
* changed `#ifndef ESP8266` to `#ifdef ARDUINO_ARCH_ESP32`
* replacement code for computing max sample
* Info Page: "audio source" added (idle/receiving/not connected/Off)
2023-08-23 12:37:30 +02:00
Frank
2cc6925f17
agcSensitivity (to align um_data with esp32)
...
all elements of um_data must be filled, otherwise some effects will crash.
This adds a dummy " agcSensitivity" value that stays at 128.
2023-08-22 23:42:03 +02:00
Frank
f689d5115b
8266 hotfix: solving connectivity problems
...
* it seems that `WiFiUDP.flsuh()` does something completely different from 8266, and its actually causing WLED to stall on UI calls. So not usable on 8266.
* fixing a few compiler warnings about "comparing signed and unsigned"
NB: its a hotfix, we have to check if there are other problems on 8266. Also its definitely ugly, but it helps as a band aid.
2023-08-22 23:17:57 +02:00
Frank
1c7d5d766d
minor fix for 8266
...
small typo, resulting in "A0" listed twice in the pin info.
2023-08-22 23:16:31 +02:00
Will Tatam
0672d1c59d
Fix maxVol and binNum
2023-08-13 17:16:11 +01:00
Will Tatam
f0cc7f04ed
Fix maxVol and binNum
2023-08-13 17:11:32 +01:00
Will Tatam
f4a1deba34
Expose dynamics - limiter, rise and fall as calc runs on receive too
2023-08-13 16:54:16 +01:00
Will Tatam
96c19b6c50
Revert placement of arduinoFFT.h include as per comments on PR:60
2023-08-13 16:40:43 +01:00
Will Tatam
e7209db038
Fix compile errors for um_data not present on receive node
2023-07-27 12:19:13 +01:00
Will Tatam
baff1a96ac
add comment about limitSoundDynamics
2023-07-27 12:10:26 +01:00
Will Tatam
1b4bd50e26
soundAgc should be none by default
2023-07-27 12:08:42 +01:00
Will Tatam
3367039605
Fix compile errors for packet type
2023-07-27 12:04:53 +01:00
Will Tatam
555ea5c9b2
Fix compile errors for soundAgc and limitSoundDynamics - but not ideal, should only be on the sender
2023-07-27 11:57:28 +01:00
Will Tatam
7a41771382
Attempt at creating audio sync listen EPS8266
2023-07-26 02:31:24 +01:00
Will Tatam
a7e0ba56e4
Attempt at creating audio sync listen EPS8266
2023-07-25 21:19:53 +01:00
Will Tatam
565293ca8c
Attempt at creating audio sync listen EPS8266
2023-07-25 19:58:08 +01:00
Will Tatam
a44c14aa9e
Attempt at creating audio sync listen EPS8266
2023-07-25 19:47:57 +01:00
Frank
512c6689f2
typos
2023-07-23 23:50:44 +02:00
Frank
5837df8ef4
platformio: speed version for ESP32-S3, minor updates
...
* added [env:esp32S3_8MB_S] with optimization for speed
* minor cleanups for MM environments
2023-07-23 23:45:57 +02:00
Frank
e64aff28e7
(experimental) compiler optimization for speed instead of size
...
only for [env:esp32_4MB_S] and [env:esp32_16MB_V4_S]
2023-07-21 22:46:20 +02:00
Frank
b4faffb731
platformio.ini : new MM config for -S3 with PSRAM (8MB or 16MB)
...
- you need to install the bootloader from platformio build folder
- only for "opi" (octal) PSRAM; will not work with "qspi" (quad) PSRAM (2MB or 4MB)
-small cleanups for -S3/-S2/-C3 environments
2023-07-21 18:36:53 +02:00
Frank
4984c578cc
minor speedups
...
* added IRAM_ATTR_YN to some frequently used color functions
* small optimization for fade_out: pixel already has "target color"
2023-07-21 15:59:32 +02:00
Frank
5707d85ed5
coredump partition update
...
arduino-esp32 v2.0.6 finally supports coredumps in flash.
2023-07-21 14:46:05 +02:00
Frank
7a38f319dc
npm run build
...
... needed to add correct version info into the the UI files.
2023-07-15 21:41:02 +02:00
Ewoud
54b321fb75
Release 0.14.0-b25.29
2023-07-15 14:14:09 +02:00
Frank
ead76be9a3
Update index.js
...
Small update for upcoming release
2023-07-15 13:19:08 +02:00
Frank
5f55f91ff0
debug message cleanup
...
changed some non-critical USER_PRINT debug messages into DEBUG_PRINT
2023-07-14 16:17:42 +02:00
Frank
423d3720b2
post-merge
...
* disabled FASTPATH breaking changes in normal builds
* _S builds for esp32 stay fully FASTPATH enabled
* full movie quote
* npm run build
2023-07-13 21:44:12 +02:00
Frank
9243b90345
max is faster than MAX
2023-07-13 21:14:43 +02:00
Frank
99def6458f
live view: more updates in non-fastpath builds
2023-07-13 21:11:33 +02:00
Frank
9a3a97eff1
pre-merge
...
cleanup:
- version increase
- clean up debug messages
- minor fixes in platformio.ini
- fix compilation with -D WLED_DISABLE_2D
helping the compiler to optimize:
- a few more __attribute__((pure))
- fx.cpp marked a few local functions as "static"
2023-07-13 19:58:48 +02:00
Frank
3295579e05
jsonToPixels robustness
...
avoid string overflow when constructing filename
2023-07-13 18:36:11 +02:00
Frank
0fb5edc4a2
robustness improvements from upstream
...
(from upstream alt-buffer branch)
* prevent drawing into inactive segments
* robustness improvements for transitions
2023-07-13 18:34:46 +02:00
Frank
c22c92e3af
preview at full brightness
...
* reverts global brightness in preview
* can NOT revert brightness reductions from auto brightness limiter.
2023-07-10 18:29:16 +02:00
Frank
9ed5dc7c02
npm run build
2023-07-08 23:12:55 +02:00
Frank
9a832ed4ab
build number upgrade
2023-07-08 23:11:02 +02:00
Frank
c64f74a611
fix for random crashes on changing presets (UI)
...
Segments are created/deleted on-the-fly; it seems that "local leds" buffers did not follow properly.
* revise segment copy/move constructors
* de-optimize use of local leds (as they need to be re-allocated when segment size changes)
* minor stability improvements
2023-07-08 22:40:43 +02:00
Frank
a45306b141
blur speedup
...
it seems that SEGMENT.blur() is the main bottleneck for many 2D effects.
This change optimizes performance of the function:
* avoid to re-write unchanged pixels
* early exit when blur_amount == 0 (=nothing to do)
* use _fast_ types where possible
I've seen up to 20% speedup with this change.
2023-07-08 20:06:52 +02:00
Frank
a2e2eada1b
npm run build
2023-07-08 20:01:40 +02:00
Frank
5fe12eef5a
Merge branch 'mdev' into audio_fastpath
2023-07-08 19:23:36 +02:00
Frank
72b79608bf
2DPlasmaball - optimize out float
2023-07-08 19:13:20 +02:00
Frank
2562f308ca
fix power calculation for NeoPixelBusLg
...
power estimation results from estimateCurrentAndLimitBri() were too low (example: estimated 1.3Amp, measured 1.6Amp). This change corrects the power calculation. Due to the changed behavior of getPixelColor, powerSum must be used as-is, not scaled down again by brightness.
2023-07-08 19:13:20 +02:00
Frank
601499b69b
XY: minor bugfix
...
properly handle width=0 OR height=0
2023-07-06 10:02:01 +02:00
Ewoud
2c823d9937
Move AS, Weather, Games, Batt from _M to _XL
2023-07-04 09:47:10 +02:00
Ewoud
f477191d51
Changing Z prefix by Y
2023-07-03 20:26:59 +02:00
Frank
7e34781212
ABL optimization
...
this optimization avoids to apply brightness two times .
NeoPixelBusLg has already applied global brightness at sPC. Due to internal working of the Lg bus, its sufficient to only post-apply scaling, and set the new (scaled) brightness for the next frame.
2023-07-03 19:41:51 +02:00
Frank
a71be02b89
de-optimization
...
first version still cased some flickering.
This de-optimization makes LEDs more stable.
2023-07-03 19:41:51 +02:00