Will Tatam
5da380e1b0
Update dependencies for sensors_to_mqtt
2025-01-15 11:28:38 +00:00
Will Miles
30559cd2d3
Fix dependency for EleksTube_IPS usermod
2025-01-14 22:21:41 +00:00
Will Miles
8fd905215f
Integrate usermods environment
...
Move the "all usermods" logic in to the platformio script, so the
'usermods' environment can be built in any checkout without extra setup
commands.
2025-01-14 22:21:26 +00:00
Will Tatam
869e275e48
typo in usermods/sensors_to_mqtt/library.json
2025-01-14 00:43:59 +00:00
Will Tatam
e4714870a4
typo in usermods/sensors_to_mqtt/library.json
2025-01-14 00:39:04 +00:00
Will Tatam
2c9c413e79
Merge branch 'usermod-libs' into usermod-libs-migration
2025-01-14 00:22:07 +00:00
Will Tatam
b380d5e2c7
reinstate libArchive:false
2025-01-14 00:10:55 +00:00
Will Tatam
24accf96a8
Remove now redundant build section from library.json
2025-01-13 10:53:24 +00:00
Will Miles
cc9e9b109c
Fix usermod library builds
...
Manage include folders via a second platformio script, fixing builds and
removing all the extra boilerplate from usermod library.json files.
2025-01-12 17:07:36 +00:00
Will Miles
8527d231e1
audioreactive: Move flags to library
...
Use a PlatformIO script to move the last of AR_buildflags in to the
module itself.
2025-01-12 13:12:12 +00:00
Will Tatam
075fd4da2d
Defining more usermod dependencies
2025-01-12 01:38:48 +00:00
Will Tatam
52bee88ad2
fix word_clock_matrix naming
2025-01-12 00:36:08 +00:00
Will Tatam
52b784e0e5
fix env:usermods
2025-01-12 00:22:54 +00:00
Will Tatam
d3eec72e45
Defining more usermod dependencies
2025-01-12 00:09:31 +00:00
Will Tatam
79bac912aa
use bigger partitions for usermods env
2025-01-11 23:25:05 +00:00
Will Tatam
2381e323c1
Define dependencies for ADS1115 usermod
2025-01-11 22:54:28 +00:00
Will Tatam
67022beca0
Build all usermods
2025-01-11 22:07:03 +00:00
Will Tatam
6e76a72d78
Convert usermods from header to library
2025-01-11 21:42:41 +00:00
Will Tatam
a5575bc3a0
Fix naming of usermod files to match library name
2025-01-11 21:41:21 +00:00
Will Tatam
90b18158fc
Convert usermods from header to library
2025-01-11 21:14:20 +00:00
Will Miles
71b0e8e937
Convert AnimARTrix usermod to library
...
Borrowed library definition from @netmindz's work on #4476 .
2025-01-11 13:32:28 -05:00
Will Miles
b8685f2c39
Convert usermods to static libraries
...
Redesign the usermod system so that usermods are implemented as
PlatformIO libraries instead of headers. This permits them to call for
dependencies, and eliminates the compiler flags for enabling each one,
allowing the build cache to behave better.
The usermod list is built using some linker magic to construct a static
list in ROM memory. This eliminates the need for wasting SRAM on
something fixed at build time.
2025-01-11 12:08:29 -05:00
Frank
48958cc638
Merge pull request #4439 from dosipod/Upstream_PRs
...
Update readme.md for rgb-rotary-encoder usermod
2025-01-04 17:49:15 +01:00
Damian Schneider
ae4de2782a
DeepSleep usermod ( #4190 )
...
* DeepSleep Usermod
- sleep delay is now 1 by default, disabling sleep at powerup
- renamed bootup variable to powerup
- using delay counter for proper bootup
- changed power-up and bootup logic
- added fallback to always power-on at boot except at powerup
- fixed bug in settings page
2025-01-04 08:07:11 +01:00
AlDIY
3fc8c7d560
Update readme.md
...
Updated the readme to use lennarthennigs/ESP Rotary@^2.1.1 as the old lib fail to compile
2024-12-29 15:46:49 +03:00
Damian Schneider
cae98451e3
Merge remote-tracking branch 'upstream/main' into 0_15__speed_improvements
2024-12-20 09:12:01 +01:00
Soeren Willrodt
396e9d0c39
Fix "preset not found issue"
...
this comit fixes the issue reported by user orbitinstasis
2024-12-14 19:58:30 +01:00
netmindz
a873ca6a3e
Merge pull request #4244 from MoonModules/framerate_ac015
...
Improved framerate control code - strip.show(), strip.service()
2024-12-04 07:48:19 +00:00
Damian Schneider
a0a46850f5
Merge remote-tracking branch 'upstream/0_15' into 0_15_trig_math
2024-11-27 22:22:50 +01:00
netmindz
77967731d5
Merge pull request #4227 from ingDIY/pr_branch
...
fixed refs to removed usermod USERMOD_FOUR_LINE_DISPLAY
2024-11-26 09:15:31 +00:00
Blaž Kristan
5c2bac4b9d
Merge branch '0_15' into 0_15__speed_improvements
2024-11-09 10:53:27 +01:00
Blaž Kristan
ef1e24cec2
Bugfix & code reduction
...
- correctly clear segment spacing change
- renamed Segment::setUp() to Segment::setGeometry()
- removed WS2812FX::setSegment()
- removed obsolete/unfunctional word clock usermod .cpp file
2024-11-09 10:42:49 +01:00
Frank
001e2ad287
adjust audioreactive for the new FRAME_DELAY logic
...
minor
2024-11-08 19:35:42 +01:00
ingDIY
fa053b7e60
Update platformio_override.sample.ini
...
fixed back U8g2 version
2024-10-29 01:14:02 +01:00
Blaž Kristan
4cc2cc4ad4
Multiple fixes
...
- increase WLED_MAX_BUSSES for C3 (fixes #4215 )
- fix for #4228
- fix for very long running effect (strip.now, strip.timebase)
- C++ API change to allow `seg.setColor().setOpacity()`
2024-10-26 15:16:11 +02:00
ingDIY
dcfdca6351
cleaned up old references to USE_ALT_DISPlAY that aren't used anymore in the code/source files; fixed readme.md documents and updated instructions; removed referencies to old usermods; fixed invalid filenames; removed referencies to old usermods; checked cycle options; splitted and fixed platformio_override.sample.ini;
2024-10-25 12:14:37 +02:00
Will Miles
4f48ddfaec
Replace SET_F with F in usermods
...
Since oappend() is now strongly typed, pass the correct type. This is a
step towards removing the extra shim logic on ESP8266.
2024-10-23 21:35:30 -04:00
Will Miles
2e01fe0b5b
Revert "Replace SET_F with F in usermods"
...
This reverts commit 7d067d8c30 .
2024-10-23 21:34:35 -04:00
Will Miles
7d067d8c30
Replace SET_F with F in usermods
...
Since oappend() is now strongly typed, pass the correct type. This is a
step towards removing the extra shim logic on ESP8266.
2024-10-23 21:28:21 -04:00
Frank
6d1126b8aa
Update audioreactive readme.md
...
added `-D sqrt_internal=sqrtf` -> needed for good performance
2024-10-22 16:19:46 +02:00
Frank
26a47537f9
AR memory optimization - part 2
...
shorten strings in UI script - saves a few hundred bytes on RAM
2024-10-22 15:15:14 +02:00
Frank
01d43c69fb
AR memory optimization - part 1
...
allocating FFT buffers late makes up to 16Kb heap available when audioreactive is not enabled.
Already tested in MM fork.
2024-10-22 14:45:32 +02:00
Damian Schneider
7b855c851d
Added integer based sin()/cos() functions, changed all trig functions to wled_math
...
- `sin16_t() / cos16_t()` are faster and more accurate than fastled versions
- `sin_approx() / cos_approx()` are float wrappers for `sin16_t() / cos16_t()` and are accurate enough to replace `sinf()/cosf()`
- `atan2()` is used only in octopus to calculate center offset, new approximated version saves flash
- `tan(), atan(), asin(), acos(), floor(), fmod()` are used only for sunrise/sunset calculation, using wled_math version saves flash
- `beatsinx()` replacements are to make use of new `sin16_t()/sin8_t()` functions to reduce flash size
- Extensively tested surnise/sunset calculation: deviation is 1min. max
- Tested some of the relevant FX and found no visual difference: Julia, 2D Drift, Drift Rose, Ghost rider, Rotozoomer, Palette, Arc 1D expansion
- total flash savings: 7.4k
2024-10-05 12:32:41 +02:00
Blaz Kristan
ba3a61f623
Reduced code size by:
...
- removing WS2812FX::setMode()
- removing WS2812FX::setColor()
- removing floating point in transition
- color handling modification in set.cpp
- replaced uint8_t with unsigned in function parameters
- inlined WS2812FX::isUpdating()
- (MAY BE BREAKING) alexa & smartnest update
2024-10-02 20:14:25 +02:00
Blaz Kristan
9cb3531e2d
Remove erroneous file
...
Fix constant dependancy
2024-09-21 22:24:36 +02:00
Blaz Kristan
b50e6e0d90
Static PinManager & UsermodManager
...
- saves a few bytes of flash
2024-09-19 21:44:11 +02:00
Blaz Kristan
6a90b9a512
FX Temperature better ranges
2024-09-15 19:31:14 +02:00
Blaz Kristan
65a8dbfe41
FX: Usermod Temperature effect
2024-09-15 11:04:02 +02:00
Blaz Kristan
5708d7a6b8
Build bump, changelog update
2024-09-14 22:30:56 +02:00
Blaz Kristan
71fcd6482d
Fix CRLF in boblight
2024-09-12 15:07:49 +02:00