Commit Graph

3523 Commits

Author SHA1 Message Date
Frank
f7df60932a npm run build
regenerate UI files
2024-01-10 21:25:09 +01:00
Blaz Kristan
ed844677cb Fix for #3665 2024-01-10 21:17:57 +01:00
Frank
e8a3b5f442 fix for #3655
make WS2814 explicit in LED driver drop-down menu
2024-01-10 21:17:57 +01:00
Blaž Kristan
3b6100a057 Merge pull request #3648 from willmmiles/json-response-locking
Expand JSON buffer lock scope to entire web reply
2024-01-08 11:54:58 +01:00
Frank
e33bcb822e USB CDC: avoid hung devices when USB host is not connected
see https://github.com/espressif/arduino-esp32/issues/9043

"
The S3, C3, C6 and H2 that have HW CDC JTAG USB port may cause a delay when using HWCDC in Serial by activating CDC on Boot and selecting the USB Mode for Hardware CDC and JTAG. This happens when no USB application in USB Host side is started to receive the data sent by the ESP32xx.

The USB CDC buffer gets full and the Arduino HW CDC layer will timeout, by default 100ms, until give up trying to send the CDC data.

As a workaround, it is necessary to use HWCDC::setTxTimeoutMs(timeout_ms) and set it to zero.
"
2024-01-04 16:03:46 +01:00
Frank
889e27fed5 npm run build 2024-01-03 17:14:12 +01:00
Frank
8a4792b4c4 version bump 0.14.0-b29.35
release prep
2024-01-03 17:10:08 +01:00
Frank
42c3243136 effect metadata 2024-01-03 17:01:44 +01:00
Frank
2265af57c9 pin info for PICO boards (cosmetic)
pico boards don't have PSRAM, but they reserve 16+17 for embedded flash
2024-01-02 19:49:41 +01:00
Frank
b6a7474efb npm run build 2024-01-02 17:55:08 +01:00
Blaz Kristan
aa9e8bbe4d Bugfix #3632 2024-01-02 17:31:55 +01:00
Blaž Kristan
620075fc02 Merge pull request #3617 from imeszaros/cpal-mobile
Make palette editor more mobile friendly
2024-01-02 17:26:34 +01:00
Frank
01c187f8aa bugfix for #104
this avoids heap corruption, by double-checking that "use global leds" is not configured, before trying to free ledsrgb[].

It is still a mystery why Segment::_globalLeds == nullptr.
2024-01-02 15:52:00 +01:00
Frank
f699a56220 tiny correction 2023-12-31 12:03:08 +01:00
Frank
8e996b0b46 parameter tuning 2023-12-31 01:21:57 +01:00
Frank
4b89016c2d audio-enhanced standard effects
backported from WLED-SR
2023-12-31 00:01:29 +01:00
Frank
03a909ac8a esp32_4MB_XL was over the limits (flash usage)
still only 256 bytes left for program
2023-12-29 22:53:26 +01:00
Frank
80a9736d0d print WLED error codes to serial + netdebug
These errors were shown in UI only, but missing in debug output.
2023-12-29 21:40:46 +01:00
Frank
78741a469c npm run build 2023-12-29 18:42:55 +01:00
Blaz Kristan
f7bfaf02a8 Possible bugfix for #3609 #3616 2023-12-29 17:46:24 +01:00
Blaz Kristan
dadafdab06 Remote preset cancles playlist 2023-12-29 17:23:46 +01:00
Blaz Kristan
738df1847a Fix for #2922 2023-12-29 17:21:43 +01:00
Frank
4bbf1ba584 sunrise/sunset: fix for ambiguous error value
sunset = 0 is a valid result, as the function result is in UTC and not local time .
Example: local time is UTC-8, local sunrise = 08:00am => getSunriseUTC()  = 0.

So we cannot use "0" for "invalid". Using UINT16_MAX resolves the problem, and even allows to simplify calculateSunriseAndSunset() a bit.
2023-12-29 17:19:53 +01:00
Frank
5e5233ce0c version bump -b28.35 2023-12-29 17:04:42 +01:00
MoonModules
7e8d570e81 Revert "Add YandexWeather Usermod" 2023-12-23 23:37:37 +01:00
Sergey Ryazanov
f04507b703 Add YandexWeather Usermod 2023-12-20 23:27:27 +04:00
Frank
58fe146a70 the experiment evolves
trying to find all the conditions when _doc[]_ should _not_ be touched ...
2023-12-19 11:28:46 +01:00
Frank
cde3298c54 MM experimental - build flag to move ALL json into PSRAM
-DALL_JSON_TO_PSRAM -DBOARD_HAS_PSRAM -D WLED_USE_PSRAM_JSON

on -S2, this *doubles* the PSRAM utilization!

before: heap used 85%, PSRAM used 13kb / 21kb
after:   heap used 60%, PSRAM used 41kb / 65kb !!
2023-12-18 20:41:11 +01:00
Frank
ca9644f04e removing my nasty debug probes; version number of today
enough of this shit ;-) no more stiff upper lips.
2023-12-18 18:33:29 +01:00
Frank
36eb520592 reduce RAM needs for -S2, user message on heap emergency actions 2023-12-18 15:39:12 +01:00
Frank
c8cee6cb51 -S2/-C3: removing stupid double protection of PSRAM pins
these pins are already forbidden in isPinOK.
In MM, trying to allocate them produces a buch of false warnings.
2023-12-18 11:34:42 +01:00
Frank
cf20c80098 #define _MoonModules_WLED_
very useful to create "runs anywhere" usermods.
2023-12-16 23:20:31 +01:00
Frank
3b6c253825 npm run build
Let's Do It
2023-12-16 23:01:25 +01:00
Frank
7624b76186 version bump 0.14.0-b28.34 2023-12-16 22:58:14 +01:00
Frank
d25835ceae experimental: trying to get the main JSON doc into PSRAM
Its not enough to declare "doc" as DynamicJsonPSRAMDocument - PSRAM is not yet initialized when "doc" is created. So we need a trick to get the main doc into PSRAM later, during WLED::setup().

Code is very experimental, may or may not work, and need more testing
-> disabled with "#if 0"
2023-12-16 22:50:05 +01:00
Frank
684bf0bd8b random palette bugfix
if random palette was used in the startup preset, all LEDs were orange until the first palette cycling happened.
This fix ensures that there is no all-orange palette initially.
2023-12-16 18:44:54 +01:00
Frank
c8b7ad749a new pin owner 2023-12-15 22:09:48 +01:00
Frank
52ceabb505 LDR_Dusk_Dawn: use pinManager, check ldrPin before use (quick-fix for #3490) 2023-12-15 22:05:01 +01:00
Frank
075cc2d76c PSRAM update
In MM we can have PSRAM without defining WLED_USE_PSRAM
2023-12-15 00:34:05 +01:00
Frank
245c0c078d npm run build
yo-man
2023-12-15 00:18:11 +01:00
Frank
8905992a89 code spell checking - part4 (MM specific) 2023-12-15 00:14:57 +01:00
Frank
d00b32e6de bugfix - unusable pins on pico32 boards (#3573)
According to the technical manual, GPIO 16 + 17 are used for onboard flash, so cannot be used by WLED.

example buildenv:

[env:esp32_pico]
extends = env:esp32dev_qio80
board = pico32
2023-12-14 22:16:50 +01:00
Frank
627e00236a Manila Time is the same as CST (solves #3517)
PHST abbreviation added for clarity.
2023-12-14 22:15:30 +01:00
Frank
9f71f47e6f oappend robustness improvement
obuf is reset to nullptr in some cases
2023-12-14 22:15:30 +01:00
Frank
47448b8d00 comment clean-up (cosmetic) 2023-12-14 22:10:30 +01:00
Frank
4995faf594 code spell checking - part2 (dependencies) 2023-12-14 22:09:28 +01:00
Frank
ced03f1f08 code spell checking - part1 (core)
I've found a code spellchecker, so this is what can be corrected easily. Changes are only affecting comments, readme and a few user-visible strings. So no functional impact expected.
2023-12-14 22:05:55 +01:00
Frank
176158c5ba chores
npm run  build
2023-12-13 23:33:58 +01:00
Frank
3b623eeda0 Merge pull request #93 from MoonModules/Platform_upgrade
Platform upgrade - align with upstream platformio.ini
2023-12-13 22:28:00 +01:00
Frank
0a70f97780 random seed bugfix (compile errors on older platforms) 2023-12-12 15:36:31 +01:00