Commit Graph

6253 Commits

Author SHA1 Message Date
Damian Schneider
4b1b0fe045 Adding center bin selection to 2D GEQ (#4764)
* adding center bin selection to 2D GEQ: this makes it possible to use subsets of the GEQ on distributed strips

setting custom3 to 0 gives the "old" behaviour, this is the default. existing presets will have the custom3 slider at the center, changing presets that do not use the full width so this is a breaking change for those but I assume theser are rare.
2025-09-22 20:01:54 +02:00
Michael Bisbjerg
4bfc9a9514 Add backing up of ir.json to wled-tools 2025-09-22 19:01:52 +02:00
Damian Schneider
4d39dd0a5e Fix LED buffer size calculation (#4928)
* Attempt at better bus memory calculation and estimation
* Remov double buffer count for ESP8266 (thanks @dedehai)
* improve UI calculation
* adding mendatory LED buffers to UI memory calculation
* adding buffer for transitions to memory calculation, change "error" to "warning"
* bugfixes in settings_leds.htm
* fix getDataSize() forESP8266, ESP8266 does not use double buffering.
* update led settings: fix parsing by @blazoncek
* new warnings for LED buffer use, deny adding a bus if it exceeds limits
* adds recommendations for users (reboot, disable transitions)

Co-authored-by: Blaž Kristan <blaz@kristan-sp.si>
2025-09-21 22:48:09 +02:00
Soeren
15ba01a1c6 Fix Discord webhook message to show the detailed embed
To get the detailed embed in the message there has to be a space between the link and the following dot
2025-09-21 22:02:44 +02:00
Will Tatam
2593b11aba Merge pull request #4950 from netmindz/HUB75-AC-Fixes
Hub75  fixes
2025-09-21 20:55:39 +01:00
Will Tatam
e7652e389f Merge pull request #4949 from wled/copilot/fix-4948
Fix HUB75 panel dimensions not loading in LED Preferences page
2025-09-20 20:00:50 +01:00
copilot-swe-agent[bot]
bd4a7e748d Fix compilation error: Use Bus::isHub75 instead of BusManager::isHub75
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-20 18:49:47 +00:00
Will Tatam
77f3426867 Default to 64x64 single panel, hacky it is done by pins but until we refactor bus config to be more flexible, this is what we have to work around 2025-09-20 18:39:02 +01:00
copilot-swe-agent[bot]
45615c07ee Fix HUB75 panel dimensions not loading in LED Preferences page
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-20 17:33:53 +00:00
Will Tatam
ee5a70a63e Update: getNumberOfPins to load all pins from config for hub75 2025-09-20 18:03:08 +01:00
Will Tatam
deac50409c Rollback to ESP32-HUB75-MatrixPanel-DMA.git#3.0.11 2025-09-20 16:49:15 +01:00
Will Tatam
c5119c8aa6 Remove NO_CIE1931 to better sit with other Gamma correction changes in WLED 2025-09-20 16:41:36 +01:00
Will Tatam
6c718c3558 Remove legacy code for double buffer 2025-09-20 15:30:36 +01:00
Will Tatam
75481d3251 Disable VirtualMatrixPanel, CHAIN_BOTTOM_LEFT_UP incomplete 2025-09-20 15:20:38 +01:00
copilot-swe-agent[bot]
7d6f47755c Fix HUB75 panel width not loading correctly in settings UI
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-20 12:29:25 +00:00
copilot-swe-agent[bot]
eb5d548ba7 Initial plan 2025-09-20 12:10:03 +00:00
Will Tatam
3a7de8275f Merge pull request #3777 from netmindz/HUB75-AC
Add HUB75 support
2025-09-20 13:05:48 +01:00
Will Tatam
33d79e048c Merge pull request #4947 from wled/copilot/fix-4946
Fix set_repo.py to detect tracked remote instead of hardcoding 'origin'
2025-09-20 11:59:29 +01:00
copilot-swe-agent[bot]
ed2b170e1b Fix set_repo.py to detect tracked remote instead of hardcoding origin
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-20 10:56:48 +00:00
copilot-swe-agent[bot]
c73636d96d Initial plan 2025-09-20 10:44:36 +00:00
Will Tatam
3410b785db Merge pull request #4944 from wled/copilot/fix-4943
Add GitHub repository information to build and API response
2025-09-20 11:23:42 +01:00
Benjam Welker
762d4433d8 Add reverse checkmark for Twinklecat (#4728)
reverse slowly fades in random lights, and then instantly turns them off.
2025-09-20 10:58:37 +02:00
copilot-swe-agent[bot]
e69bf4eceb Fix compilation error by properly escaping quotes in WLED_REPO build flag
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-19 22:50:20 +00:00
Will Tatam
741fd8d9d3 Add build instruction for common environment
Added instruction to run a build for the common environment before finishing changes.
2025-09-19 23:43:33 +01:00
copilot-swe-agent[bot]
684224c614 Remove Python cache file and add __pycache__ to .gitignore
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-19 10:47:33 +00:00
copilot-swe-agent[bot]
9826197083 Improve error handling for missing git CLI
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-19 10:46:56 +00:00
copilot-swe-agent[bot]
2ba84b12f8 Add compile_commands.json to .gitignore and finalize repo integration
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-19 10:33:14 +00:00
copilot-swe-agent[bot]
efeb791807 Implement GitHub repo extraction in build process
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-19 10:30:36 +00:00
copilot-swe-agent[bot]
43e3578d50 Initial plan 2025-09-19 10:19:02 +00:00
Blaž Kristan
b375c718b0 Merge pull request #4771 from wled/fix-4643
Fix for #4643 - Missing MQTT updates
2025-09-17 12:20:41 +02:00
Will Miles
b16fbafd83 Merge pull request #4890 from willmmiles/esp32-rmthi
Import RmtHI driver
2025-09-16 21:32:16 -04:00
Damian Schneider
76cb2e9988 Improvements to heap-memory and PSRAM handling (#4791)
* Improved heap and PSRAM handling

- Segment `allocateData()` uses more elaborate DRAM checking to reduce fragmentation and allow for larger setups to run on low heap
- Segment data allocation fails if minimum contiguous block size runs low to keep the UI working
- Increased `MAX_SEGMENT_DATA` to account for better segment data handling
- Memory allocation functions try to keep enough DRAM for segment data
- Added constant `PSRAM_THRESHOLD` to improve PSARM usage
- Increase MIN_HEAP_SIZE to reduce risk of breaking UI due to low memory for JSON response
- ESP32 makes use of IRAM (no 8bit access) for pixeluffers, freeing up to 50kB of RAM
- Fix to properly get available heap on all platforms: added function `getFreeHeapSize()`
- Bugfix for effects that divide by SEGLEN: don't run FX in service() if segment is not active
-Syntax fix in AR: calloc() uses (numelements, size) as arguments

* Added new functions for allocation and heap checking

- added `allocate_buffer()` function that can be used to allocate large buffers: takes parameters to set preferred ram location, including 32bit accessible RAM on ESP32. Returns null if heap runs low or switches to PSRAM
- getFreeHeapSize() and getContiguousFreeHeap() helper functions for all platforms to correctly report free useable heap
- updated some constants
- updated segment data allocation to free the data if it is large

- replaced "psramsafe" variable with it's #ifdef: BOARD_HAS_PSRAM and made accomodating changes
- added some compile-time checks to handle invalid env. definitions
- updated all allocation functions and some of the logic behind them
- added use of fast RTC-Memory where available
- increased MIN_HEAP_SIZE for all systems (improved stability in tests)
- updated memory calculation in web-UI to account for required segment buffer
- added UI alerts if buffer allocation fails
- made getUsedSegmentData() non-private (used in buffer alloc function)
- changed MAX_SEGMENT_DATA
- added more detailed memory log to DEBUG output
- added debug output to buffer alloc function
2025-09-16 19:46:16 +02:00
Will Tatam
9d706010f5 Update WLED app links for Android and iOS 2025-09-14 19:05:47 +01:00
Will Tatam
97b20438fd Fix typo in 'Originally' in readme.md 2025-09-14 19:03:21 +01:00
Will Tatam
65913f990d Update project title and add creator attribution 2025-09-14 18:24:19 +01:00
Will Tatam
56d00357d3 testing thanks.dev 2025-09-14 18:12:03 +01:00
netmindz
1864e550e6 Update funding to include currently active maintainers 2025-09-14 15:32:37 +01:00
netmindz
a79ae25621 null check in setBrightness
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-13 14:10:04 +01:00
Will Tatam
05c481c5bb Remove duplicate envs 2025-09-13 13:47:44 +01:00
Will Tatam
7ce0d69563 Merge branch 'HUB75-AC' of github.com:netmindz/WLED into HUB75-AC 2025-09-13 13:41:19 +01:00
netmindz
011e72c3c1 Revert nPins = Bus::getNumberOfPins change
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-13 13:41:04 +01:00
Will Tatam
e44bdf6193 reset board back to correct definition 2025-09-13 13:38:29 +01:00
Will Tatam
29dcdf8e85 Merge branch 'HUB75-AC' of github.com:netmindz/WLED into HUB75-AC 2025-09-13 13:35:13 +01:00
Will Tatam
e37d4cd8a8 Remove platformio_override.ini leaving only sample envs 2025-09-13 13:34:52 +01:00
netmindz
46e60b4d0a Only read pinArray if initialized
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-13 11:08:35 +01:00
Damian Schneider
75f6de9dc2 bugfix in Colortwinkles
thx @blazoncek
2025-09-09 07:31:19 +02:00
Blaž Kristan
649d43b581 Bugfix for FX: Tri Fade
- incorrectly calculated counter and progress
2025-09-08 11:37:43 +02:00
Damian Schneider
16cfbf7500 Merge pull request #4913 from DedeHai/percentFX_UI_fix
fix ancient UI bug that hides the speed slider in percent FX
2025-09-07 20:34:57 +02:00
Soeren
aecac2c56c Add CORS proxy information to README 2025-09-07 13:15:28 +02:00
Damian Schneider
385504e6db fix ancient UI bug that hides the speed slider in percent FX 2025-09-05 19:53:15 +02:00