Will Miles
4a3af814bf
Merge pull request #4669 from willmmiles/4597-usermods-not-building
...
Correct issues with usermods not being linked.
- Explicitly set libArchive: false in usermod library.json files
- Fix up symlink path generation on Windows
- Add validation script to report usermod linkage in resulting binary
2025-05-26 22:41:45 -04:00
Will Miles
e80a7c6b75
usermod_v2_HttpPullLightControl: Add usermod object
...
The module instance was missing.
2025-05-24 23:15:36 -04:00
Will Miles
75c95d88e2
usermods/*/setup_deps.py: Check lib_deps for deps
...
Check the safest possible location for final information on what
components are actually being linked in. This demonstrates a safe
approach that works even for out-of-tree modules.
2025-05-24 22:18:22 -04:00
Arcitec
d381108dc0
AR: add compile-time flag for "Automatic Gain Control" option
...
Automatic Gain Control is a very important aspect of the audioreactive plugin,
and is vitally important when the external music volume constantly changes.
It makes sense to allow users to choose their preferred AGC behavior at
compile-time, since they can already set the Gain and Squelch via flags.
Adds `SR_AGC` as a flag, which defaults to 0 (off).
2025-05-14 00:40:07 +02:00
srg74
42d9a41cf5
Fixed markdownlint errors #2
2025-05-11 12:49:32 -04:00
srg74
b5a710dbe4
Fixed markdownlint errors
2025-05-11 12:19:03 -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 Tatam
f1c88bc38d
fix envs
2025-04-26 15:54:14 +01:00
Will Tatam
92db9e0e00
fix envs
2025-04-26 15:21:22 +01:00
Will Tatam
fbb7ef7cfc
fix custom_usermods setting
2025-04-26 14:52:18 +01:00
Will Tatam
7852ff558e
Build for each chipset
2025-04-26 14:44:48 +01:00
Will Tatam
adb9b773b0
Merge branch 'main' into usermod-libs-matrix
2025-04-26 14:28:52 +01:00
Blaž Kristan
7f2b6a3f10
More compilation fixes.
2025-04-23 18:53:22 +02:00
Blaž Kristan
0f321bfb38
Compilation fixes
2025-04-23 18:38:34 +02:00
Blaž Kristan
ee9ac947a1
Segment layering & effect blending improvements
...
- Photoshop-style segment/layer blending
- return of strip ABL
- remove global LED buffer in favour of segment-local buffer
- new effect blending modes/transitions
- custom palettes moved out of WS2812FX class
- increased limits (matrix size, LED RAM)
- added "rainbow"-mode colorwheel
- replaced palettes with gamma unmodified ones
- move gamma adjustment to last step before sending to LEDs
- Segment & WS2812FX class reorganisation (mutable members, reordered members, protected members)
2025-04-22 22:37:18 +02:00
Will Miles
354a0aef52
Merge remote-tracking branch 'upstream/main' into more-usermod-fixes
2025-03-29 11:12:31 -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
494b72c287
Merge remote-tracking branch 'upstream/main' into perlin_noise
2025-03-12 20:15:40 +01:00
Will Tatam
0ba80ce61e
Merge branch 'main' into usermod-libs
2025-03-11 22:31:52 +00:00
srg74
14c6c05e00
Update README.md
...
Added record to change log according to latest update from @blazoncek
2025-03-11 16:24:55 -04:00
Damian Schneider
2012317bc9
initial version, basically working but repetitive patterns, work in progress
2025-03-03 06:57:16 +01:00
Will Miles
20563e6306
usermod/Temperature: Update doc
2025-03-01 20:29:59 +00:00
Will Miles
580c2d8213
usermods/MY9291: Enable for ESP8266
2025-03-01 20:29:37 +00:00
Blaž Kristan
6ea9535463
Avoid shadowing global col[]
2025-02-19 11:54:03 +01:00
Will Tatam
1dc7647bb9
Merge branch 'main' into usermod-libs
2025-02-16 10:40:30 +00:00
maxi4329
aa3fb7d165
update links to point to the new repo
2025-02-15 20:07:41 +01:00
yangminglong
35f87365c9
Brightness follow sun ( #4485 )
...
* add usermod : Brightness Follow Sun
2025-02-08 10:11:14 +01:00
Will Tatam
3a31d5d49e
Merge branch 'usermod-libs' into usermod-libs-matrix
2025-02-07 20:53:31 +00:00
Will Miles
078a054dbd
usermods/pixels_dice_tray: Fix BLE dependency
2025-02-07 04:12:07 +00:00
Will Miles
c57be77039
Fix sensor usermod globals
...
These can be static locals instead; allows these usermods to build and
link together.
2025-02-06 22:26:45 -05:00
Will Miles
e6910f732f
Disable EleksTube_IPS usermod
...
For some reason, building it seems to consume 300kb of SRAM??
Probably there's still something wrong with the configuration.
2025-02-06 22:25:39 -05:00
Will Miles
d0b599781d
Fix up BME280_v2 usermod
...
Minor compile correctness tweak
2025-02-06 22:24:53 -05:00
Will Miles
2431f2058b
load_usermods: Split on any whitespace
...
This allows the common newline syntax in platformio
2025-02-06 22:23:12 -05:00
Will Miles
f72b5d04e8
usermod/pixels_dice_try: Add missing dep
...
The "arduino-pixels-dice" library needs the ESP32 BLE subsystem, but
doesn't explicitly depend on it.
2025-02-03 19:35:12 +00:00
Will Miles
1688546519
Fix RTC usermod
2025-02-03 18:48:07 +00:00
Will Miles
2eff6b7a3a
usermod/sensors_to_mqtt: Add explicit dep
...
This mod includes a header from the Adafruit Unified Sensor library
inherited by its target sensor libraries. This isn't reliably
picked up by PlatformIO's dependency finder. Add an explicit dep to
ensure build stability.
2025-02-03 17:57:09 +00:00
Will Miles
7a40ef74c6
Fix up PWM_fan
...
Use a custom setup script to check for the dependencies and pass along
the required compile flags to the module; also split the object
definitions for the target modules from their source so as to allow
#including them.
2025-01-31 23:59:37 +00:00
Will Miles
b3f9983f44
First half of usermod readme updates
...
Describe the new usermod enable process, and update sample
platformio_override.ini stubs.
2025-01-31 03:57:23 +00:00
Will Miles
070b08a9e6
Rename usermod EXAMPLE_v2 to EXAMPLE
...
It'd be better to not propagate the 'v2' suffix any further. This is
the standard flavor of usermods now.
2025-01-31 03:54:17 +00:00
Will Miles
851e9ece03
Remove deprecated mqtt_switch_v2 usermod
...
...it's been 3 years, and it's easier than cleaning up the readme.
2025-01-31 03:52:59 +00:00
Will Miles
a5b972d87e
Merge remote-tracking branch 'upstream/main' into usermod-libs
2025-01-31 02:51:56 +00:00
Will Tatam
7d48bba926
build usermod_esp32
2025-01-22 10:09:51 +00:00
Will Miles
0d44e7ec27
Usermods: Remove libArchive
...
This is now managed centrally.
2025-01-21 00:12:37 +00:00
Blaž Kristan
3a426e258b
Merge branch 'main' into blending-styles
2025-01-20 11:19:43 +01:00
Ryan Ross
01a71132d5
connect the seven segment reloaded usermod to BH1750 usermod ( #4503 )
2025-01-20 06:12:12 +01:00
Will Miles
30a697e708
usermods/PWM_fan: Disable pending cross-mod check
...
A better solution for cross-module communication is required!
2025-01-19 22:19:30 +00:00
Will Miles
0233daeda2
usermods/sensors_to_mqtt: Fix char type
2025-01-19 22:19:30 +00:00
Will Miles
44a1a1ebde
usermods: Fix MQTT checks
...
- Check after including wled.h
- Use WLED_DISABLE_MQTT instead of WLED_ENABLE_MQTT
2025-01-19 22:19:30 +00:00
Will Miles
2b07be1d09
usermod mpu6050: Fix incorrect int type
2025-01-19 22:09:44 +00:00
Kilrah
b9aeb19834
RF433 json usermod ( #4234 )
...
* RF433 remote usermod
---------
Co-authored-by: Kilrah <kilrah@kilrah.xyz>
2025-01-17 08:01:17 +01:00
Will Miles
193926c795
usermods: Remove #pragma once from cpps
2025-01-17 00:50:02 +00:00
Will Tatam
8487dd7cfd
Disable build of usermods that are broken at the moment
2025-01-15 12:49:40 +00:00
Will Tatam
5d05d7936c
Add usermod dependencies
2025-01-15 12:46:48 +00:00
Will Tatam
0afd2fe720
Destructor must be public
2025-01-15 12:46:06 +00:00
Will Tatam
59a79a30da
Add deps for usermods/BME280_v2
2025-01-15 11:34:51 +00:00
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
Blaž Kristan
a65f97ac75
Merge branch 'main' into blending-styles
2025-01-14 22:39:20 +01: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
Will Tatam
f447df9873
Merge branch 'main' into HUB75-AC
2025-01-06 12:07:45 +00: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