Damian Schneider
b5f13e4331
FIX for adafruit portal S3: remove extra flash section & use default WLED partitions ( #5113 )
...
* remove extra flash section, rename board file
* matrixportal: change partitions to standard 8MB
plus minor name adjustment (adding "for WLED")
Co-authored-by: Frank <91616163+softhack007@users.noreply.github.com >
2025-11-30 15:35:25 +01:00
Copilot
a897271a03
Convert PSRAM to MB in usage reporting ( #5130 )
...
* Initial plan
* Convert PSRAM from bytes to MB in usage reporting JavaScript
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
* Use 1024*1024 instead of magic number for bytes to MB conversion
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com >
2025-11-28 18:15:58 +00:00
Copilot
75a7ed132a
Fix stale UI after firmware updates ( #5120 )
...
Add WEB_BUILD_TIME to html_ui.h and use it for ETag generation
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: DedeHai <6280424+DedeHai@users.noreply.github.com >
Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com >
2025-11-28 08:08:43 -05:00
Will Tatam
fc25eb2c90
Merge pull request #5116 from wled/add-report-version-feature
...
Add report version feature
2025-11-27 22:55:23 +00:00
Will Tatam
dc5732a5f5
Merge pull request #5111 from DedeHai/safe_UID_generation
...
Safe uid generation
2025-11-27 17:59:12 +00:00
Blaž Kristan
a9811c2020
Variable button count (up to 32) ( #4757 )
...
* Variable button count (up to 32)
- adds ability to configure variable number of buttons during runtime
- fixes #4692
2025-11-27 17:00:58 +01:00
Will Tatam
33411f0300
Reformat to tabs
2025-11-27 13:43:24 +00:00
Will Tatam
8bc434b614
Update working to Aircoookie's suggestion
2025-11-27 13:36:04 +00:00
Damian Schneider
ce6577ee35
add caching back
2025-11-27 11:49:33 +01:00
Will Tatam
579021f5fc
trigger reportUpgradeEvent
2025-11-26 22:41:45 +00:00
Will Tatam
17e91a7d2a
Remove K suffix
2025-11-26 22:11:46 +00:00
Will Tatam
61f5737df2
Remove MB suffix
2025-11-26 22:11:38 +00:00
Will Tatam
49a25af1f2
Fix styling issues
2025-11-26 22:11:26 +00:00
Will Tatam
b6f3cb6394
Use deviceId not mac
2025-11-26 22:11:17 +00:00
Will Tatam
571ab674c3
Update to use deviceId
2025-11-26 22:11:02 +00:00
Damian Schneider
6b607fb545
refined PS replacement ifdefs ( #5103 )
...
* refined PS replacement ifdefs
* bugfixes, added glitter and sparkle as they a lightweight (1k of flash)
2025-11-26 22:25:10 +01:00
Damian Schneider
e761418531
adding legacy support for "edit?list=/" command, fix indentation ( #5092 )
2025-11-26 22:23:37 +01:00
Damian Schneider
fca921ee82
Adding "Complete" mode to Dissolve FX: always fades completely ( #5016 )
...
This allows for much slower speed setting to not turn into "twinkle" effect
2025-11-26 22:22:13 +01:00
Damian Schneider
fc7993f4a7
update default AP channel to 6, possible fix for "AP does not show" ( #5115 )
2025-11-26 21:22:22 +01:00
Damian Schneider
f12e3e03ac
set default AP channel to 7 to help with bad antennas
...
Channel 1 can have very bad performance on some designs, its better to use a center channel.
2025-11-26 07:33:47 +01:00
Damian Schneider
eb87fbf8e4
dont assume initialization of 0, be explicit.
2025-11-25 19:55:25 +01:00
Damian Schneider
c534328cc5
return String not uint
2025-11-25 19:45:23 +01:00
Damian Schneider
28d8a1c25c
crash-safe version of ID generation using only IDF functions
2025-11-25 19:39:30 +01:00
Frank
d1c4de2499
Merge pull request #5107 from wled/s3_wroom2_32MB
...
update for esp32-S3 builds
* support for 32MB Flash
* added board manifest for adafruit matrixportal
* some cleanup, removed obsolete build flags
* new example how to "compile for speed" in platformio_orride.sample.ini
2025-11-25 16:23:55 +01:00
Damian Schneider
1e081a7f0d
PS 1D Firwork bugfixes and improvements
2025-11-23 19:15:17 +01:00
Frank
730205ded5
AR: SR_DMTYPE=254 => UDP sound receive only (experimental)
...
additional dmtype = 254 "driver" that keeps AR enabled in "sound sync only" mode.
2025-11-23 00:24:49 +01:00
Frank
90ca6ccf8b
AR: handle stupid build flag SR_DMTYPE=-1
...
I don't know how the bad example "-D SR_DMTYPE=-1" made it into platformio_override.sample.ini 🫣
mic type -1 = 255 was never supported by AR, and lead to undefined behavior due to a missing "case" in setup().
Fixed. Its still a stupid build_flags option, but at least now its handled properly.
2025-11-23 00:02:56 +01:00
Frank
d7fd49cc4c
fix wrong -D SR_DMTYPE=-1 in platformio_override.sample.ini
...
SR_DMTYPE=-1 will lead to undefined behavior in AR, because for S3 there is no "default" case in the usermod setup(). It should be sufficient to set pins to "-1" if you want to avoid "pin stealing".
2025-11-22 23:38:49 +01:00
Frank
eb03520aa9
Update platformio_override.sample.ini
...
esp32S3_PSRAM_HUB75:
* use 16MB partinion.csv (board has 16MB flash, lets use that)
* example how to switch from "compile for small size" to "compile for speed"
adafruit_matrixportal_esp32s3:
* small reordering of lines
* commented out partition for adafruit bootloader, reverted to standard 8MB partitions
2025-11-22 23:07:59 +01:00
Frank
d8e2ceecf7
buildenv updates for adafruit MatrixPortal S3
...
* board.json added to WLED/boards
* use partitions file that supports adafruit UF2 bootloader
2025-11-22 21:24:23 +01:00
Frank
7dfed581b7
add esp32S3_wroom2 to default build
...
this board does not run with esp32s3dev_16MB_opi, because it needs "opi_opi" (not qio_opi) memory mode.
2025-11-22 20:42:43 +01:00
Frank
49a1ae54cf
update for S3 buildenvs, and support for 32MB Flash
...
* removed obsolete "-D CONFIG_LITTLEFS_FOR_IDF_3_2" => this was only for the old "lorol/LITTLEFS" whic is not used any more in WLED
* commented out "-D ARDUINO_USB_MODE=1", because users have reported that it leads to boot "hanging" when no USB-CDC is connected
* Added buildenv and 32MB partition for esp32s3-WROOM-2 with 32MB flash
* disabled "-mfix-esp32-psram-cache-issue" warning for -S2 and -S3 (only necessary for classic esp32 "rev.1", but harmful on S3 or S2)
2025-11-22 20:35:53 +01:00
Frank
5b3cc753e2
partition files for use with ADAFRUIT boards
...
these partition files preserve the special "UF2" bootloader that is necessary for adafruit -S2 and -S3 boards.
2025-11-22 18:06:02 +01:00
Will Tatam
4615eb8258
Merge pull request #5093 from netmindz/deviceId
...
Add Device ID to JSON Info
2025-11-22 12:17:09 +00:00
Will Tatam
9b787e13d1
swap to using ESP.getFlashChipId for the 8266
2025-11-21 08:22:22 +00:00
Will Tatam
3dbcd79b3c
Add efuse based data to salt
2025-11-21 08:17:38 +00:00
Will Tatam
a1aac452de
use correct value for deviceString for 8266 and add comments
2025-11-20 00:24:24 +00:00
Will Tatam
b90fbe6b1a
fix whitespace
2025-11-19 23:53:21 +00:00
Will Tatam
1860258deb
deviceString for esp32
2025-11-19 23:48:30 +00:00
Will Tatam
a2935b87c2
deviceString for 8266
2025-11-19 23:45:55 +00:00
Will Tatam
c1ce1d8aba
salt using additional hardware details
2025-11-19 23:11:31 +00:00
Frank
54b7dfe04b
Fix debug message for servicing wait
...
forgot to adjust the debug condition in my previous commit.
NB: the condition only shows a debug message when the max wait time was exceeded, which can only happen when line 1692 has waited for the maximum allowed time. ->Is this intended?
2025-11-18 23:05:03 +01:00
Frank
4a33809d66
make waitForIt() timing logic robust against millis() rollover
...
the timing logic did not work in case that millis()+100 + frametime rolls over; in this case millis() > maxWait, and waiting would be skipped which might lead to crashes.
-> logic slightly adjusted to be robust against rollover.
2025-11-18 22:56:30 +01:00
Damian Schneider
336e074b4a
fix for 0byte size files, also made reading ledmaps more efficient
...
when a ledmap is read from a file, it first parses the keys, putting the in front is more efficient as it will find them in the first 256 byte chunk.
2025-11-18 20:40:04 +01:00
Damian Schneider
aaad450175
show minimum of 0.1KB for small files in file editor
2025-11-18 07:26:17 +01:00
Will Tatam
85b3c5d91b
refactor to use a common sha1 function
2025-11-18 05:53:12 +00:00
Will Tatam
4db86ebf7f
Add salf and checksum
2025-11-18 05:35:49 +00:00
Damian Schneider
65c43b5224
add ctrl+s support to file editor, also add toast instead of alert
2025-11-17 20:56:49 +01:00
Will Tatam
d1ed5844e3
fix for #4298 - no conflict with DMX output
2025-11-17 17:43:25 +00:00
Will Tatam
c649ec1d8c
Update wled00/json.cpp
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-17 17:40:09 +00:00