Wykres commitów

5715 Commity (792a7aa0815be4fc3a8e7779f5d0d93a49d3cc51)

Autor SHA1 Wiadomość Data
Will Miles 792a7aa081 load_usermods: Resolve folder paths
Ensure all paths used in usermod symlinks are fully resolved, including
any case correctness issues on Windows.  Apparently PlatformIO does
not handle symlink files correctly on Windows if there are case
differences between cwd and the resolved path.
2025-05-22 09:13:54 -04:00
Will Miles 7ea510e75b validate_usermods: Improve message 2025-05-22 08:44:05 -04:00
Will Miles 242df4b049 validate_usermods: Fix old ESP32 platform
The modern linker used with new platforms (ESP8266, ESP32 >v4) always
produces paths in the map file with slash; however the old linker for
the old ESP32 platform instead produces paths with backslash when
building on Windows.  Match both types as a path separator when
scanning linked symbols.
2025-05-22 08:43:52 -04:00
Will Miles 358e38e056 validate_usermods: Ensure map file is created
Not all of our platforms create one by default; ensure it's produced.
2025-05-22 08:41:59 -04:00
Will Miles ac61eb4b1b validate_usermods: Fix inverted check
Difference direction was inverted.  It's tough to test when it always
works correctly on your local machine!

H/t @coderabbitai
2025-05-19 17:41:11 -04:00
Will Miles 24ab2952ee Add unambiguous usermod list to info
Neither the info panel nor the settings dialog can be trusted to
accurately report the usermod list:
- Not all usermods necessarily add to the info panel
- Not all usermods necessarily add to the config page
- #4609 is required for the config page to be correct

Add a short list to the info object that lists the loaded usermod IDs.
This is not displayed via the UI, but can be queried with curl or web
debug tools.

To be removed when usermod loading is working well.
2025-05-19 17:30:40 -04:00
Will Miles 999637f8ad Validate usermods at link time
Add additional validation of the linker .map output to confirm that the
correct usermods were added.
2025-05-19 17:30:22 -04:00
Will Miles ee3864175d load_usermods: Make missing libArchive an error
Rather than try and fail to add this property, abort if it's missing
from any requested usermod.
2025-05-06 22:39:10 -04:00
Will Miles 849d5e6667 Add libArchive to other usermods
Not all of them were removed by the reverted commit; re-do the
rest of them.
2025-05-06 22:38:33 -04:00
Will Miles a8dd2435ec Revert "Usermods: Remove libArchive"
This reverts commit 0d44e7ec27.
2025-05-06 22:12:01 -04:00
Will Miles 6464c620c7 load_usermods: Enforce CPPPATH type
Ensure that entries put in CPPPATH are always strings so SCons can
correctlly deduplicate.
2025-04-30 21:56:56 -04:00
Will Miles 7998650e60 Fix up usermod libArchive settings
The ConfigureProjectLibBuilder process will flush and reload the library
settings from the on-disk manifests if any new library is installed at
that stage.  This has the side effect of reverting the libArchive setting
applied to usermods which was performed prior to that call.
Apply the setting afterwards, instead.

Fixes #4597
2025-04-30 21:18:05 -04:00
netmindz d10714d1c1
Merge pull request #4623 from willmmiles/more-usermod-fixes
More usermod fixes
2025-04-30 18:55:36 +00:00
Damian Schneider f721efca1e
fixed wrong gravity setting, added option for no trail (#4665) 2025-04-28 21:12:27 +02:00
netmindz 410025f30f
Merge pull request #4661 from wled/dependabot/pip/h11-0.16.0
Bump h11 from 0.14.0 to 0.16.0
2025-04-25 07:20:10 +00:00
dependabot[bot] f1d52a8ec1
Bump h11 from 0.14.0 to 0.16.0
Bumps [h11](https://github.com/python-hyper/h11) from 0.14.0 to 0.16.0.
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0)

---
updated-dependencies:
- dependency-name: h11
  dependency-version: 0.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 16:33:57 +00:00
Damian Schneider 10b925acb7
bugfix in enumerating buttons and busses (#4657)
char value was changed from "55" to 'A' which is 65.
need to deduct 10 so the result is 'A' if index counter is 10.
2025-04-23 15:06:31 +02:00
Damian Schneider 353868414a
Removed PS memory manager and some minor improvements (#4651)
* Removed memory manager from PS

- reverted all changes related to memory manager
- moved local buffer into effect data memory
- some RAM issues may occur on larger setups: tested on S3 it works fine up to 32x32 but runs into memory issues at 64x32

* fixed ifdef, improved readability, add optimize "o2" flags to improve speed

- added struct for x and y coordinates, thx to @blazoncek

* cleanup and minor improvements

- removed local buffer for ESP8266 in 1D system to save on RAM
- increased particle brightness in PS Impact
- minor tweak in collision binning (might improve speed)
- removed comments and some other unused stuff
- fixed a few compiler wranings

* fixed init sequence bug
2025-04-20 11:38:32 +02:00
Blaž Kristan c661d8f5b7
Merge pull request #4627 from blazoncek/overlay-fix
Allow clock overlay to use LED beyond 255
2025-04-20 11:05:35 +02:00
Damian Schneider 02f14baad4
Updates to particle system (#4630)
* added Sonic Boom AR FX, some tweaks to Sonic Stream
* added white color option to Sonic Stream
* improvements to collisions (speed look-ahead)
* code prettified
* added "playful" mode to PS Chase plus some minor speed optimizations
* Adding new FX: PS Springy with many config options
2025-04-15 19:07:21 +02:00
netmindz e979c58c98
Merge pull request #4609 from willmmiles/usermod-cfg-live
Use live cfg json instead of file for usermod settings page
2025-04-06 09:28:45 +00:00
Blaž Kristan b941654a68 Allow clock overlay to use LED beyond 255 2025-03-29 23:39:47 +01:00
Will Miles 354a0aef52 Merge remote-tracking branch 'upstream/main' into more-usermod-fixes 2025-03-29 11:12:31 -04:00
Will Miles b0b3196e52
Merge pull request #4620 from gsieben/USERMOD-BME68X-Update-to-Version-1.0.2
Update USERMOD BME68X to version 1.0.2
2025-03-29 11:09:17 -04:00
Will Miles 7db52d794b Fix incorrect json value in all usermods
Must've been a bad search-and-replace on my part somewhere..
2025-03-28 21:35:37 -04:00
Will Miles fbbb369fa4
Update usermods/usermod_v2_rotary_encoder_ui_ALT/library.json
Fix typo in json

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-28 21:21:26 -04:00
Will Miles f719ee5b18
Update usermods/usermod_v2_four_line_display_ALT/library.json
Fix incorrect json

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-28 21:18:27 -04:00
Will Miles c3ab562258
Update usermods/usermod_v2_brightness_follow_sun/library.json
Fix incorrect module name in library.json

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-28 21:17:59 -04:00
Will Miles 62d3e155bd usermod/SN_Photoresistor: Fix invalid initializer 2025-03-28 20:15:36 -04:00
Will Miles fab80f4e4e Fix up usermod dep checking scripts 2025-03-28 20:15:36 -04:00
Will Miles 1cd3a97c51 usermods: Fix 7sd_reloaded cross module binding
Fix up the cross module binding for
usermods/seven_segment_display_reloaded.  This requires splitting off
headers for BH1750_v2 and SN_Photoresistor.
2025-03-28 20:15:36 -04:00
Will Miles ff99c7de70 Convert usermods/usermod_v2_brightness_follow_sun 2025-03-28 20:15:36 -04:00
Will Miles e2c919d270 Fixup usermods_v2_four_line_display_ALT
Get this usermod to build, and restore the interconnect with its
partner usermod_v2_rotary_encoder_ui_ALT.
2025-03-28 20:15:36 -04:00
Will Miles 035d4aed26 usermods\MAX17048_v2: Fix readme 2025-03-28 20:15:36 -04:00
Will Miles d03604b14a usermods/MAX17048_v2: Fix precision variable type
The String constructors are ambiguous with uint8_ts.
2025-03-28 20:15:36 -04:00
Will Miles 468ef50f75 usermods/rgb-rotary-encoder: Enable usermod 2025-03-28 20:15:36 -04:00
Will Miles 16525c2f3f usermod/BME68X_v2: Fix macro collision
Rename a macro that unfortunately collides with the ESP32 platform.
This allows re-enabling this usermod.
2025-03-28 20:15:36 -04:00
Will Miles af1a966986 usermod/word-clock-matrix: Fix build
I've just assigned an arbitrary ID number.  The ID system should
get removed entirely; we don't want to have to change a base
system header to add each module.
2025-03-28 20:15:36 -04:00
Will Miles 1492f1ce89 usermod_v2_HttpPullLightControl: Fix build 2025-03-28 20:15:36 -04:00
Gabriel Sieben 7e87891701 Update USERMOD BME68X to version 1.0.2 2025-03-28 16:27:26 +01:00
Damian Schneider e76e9a3e1f
Merge pull request #4594 from DedeHai/perlin_noise
Adding perlin noise replacement for fastled functions
2025-03-26 07:40:40 +01:00
Will Miles 36cb1cad36 settings_um: Use live config
Use json/cfg for the usermod settings page.  Should fix issues
with outdated content when a new firmware is loaded.
2025-03-23 15:20:16 -04:00
Will Miles 22e2b6f3c5 Have json/cfg return live config
Rather than reading the file off disk, have the json/cfg endpoint
return the live config from system state data.  This can improve
UI behaviour as it can never be out of date or include values that
do not apply to the current firmware install.
2025-03-23 15:18:08 -04:00
Will Miles 9c8f8c645e Rename 'doSerializeConfig' to 'configNeedsWrite'
Clarify the name and usage of this flag, as the function name has
changed out from underneath it.
2025-03-23 15:16:52 -04:00
Will Miles e21a09cec9 Separate FS write from serializeConfig
Break the actual JSON assembly apart from the file writing code.  This
permits calling it in other contexts, allowing us to pull the live
config data even if the filesystem is out of date.
2025-03-23 15:15:52 -04:00
Will Miles a0d1a8cbc4 Use enum class for json endpoint subtypes
Part of the ongoing quest to migrate macro definitions to typed
language constructs.  This actually yields a small improvement in
code size, likely from the byte->int conversion.
2025-03-23 15:08:12 -04:00
Blaž Kristan 86393e0b1d
Merge pull request #4608 from marcone/patch-2
Fix typo
2025-03-23 19:29:18 +01:00
marcone f328713710
Fix typo 2025-03-23 11:11:34 -07:00
netmindz ed6efe4c9e
Merge pull request #4551 from Brandon502/PinwheelRework
Pinwheel Rework
2025-03-23 09:29:54 +00:00
netmindz befff2f034
Merge pull request #4605 from marcone/patch-1
Fix typo in build.yml
2025-03-22 17:55:15 +00:00