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
51db63dff7
load_usermods: Also search for mod_v2
2025-01-31 03:39:05 +00:00
Will Miles
a5b972d87e
Merge remote-tracking branch 'upstream/main' into usermod-libs
2025-01-31 02:51:56 +00:00
Will Miles
4bc3408410
load_usermods: Don't cross usermod includes
...
Only include paths for the base system deps, not those of other
usermods.
2025-01-31 01:35:58 +00:00
Will Miles
5d392d89ce
load_usermods: Improve include path assembly
...
Don't blast the path of any mentioned library - parse only the tree of
the actual build deps.
2025-01-31 01:33:34 +00:00
Will Miles
86f97614b0
platformio.ini: Fix esp32dev_V4 usermods
2025-01-31 01:32:34 +00:00
netmindz
32a75c1ff5
Merge pull request #4165 from willmmiles/esp8266-pwm-phase
...
Support PWM phase shifts on ESP8266
2025-01-27 19:05:46 +00:00
netmindz
61b99471a1
Merge pull request #4516 from willmmiles/aws-queue-0_16
...
Update AsyncWebServer and enable response queue
2025-01-26 16:15:24 +00:00
Will Tatam
e27fa882fa
Move CONFIG_ASYNC_TCP_USE_WDT=0 to new esp32_all_variants
2025-01-26 16:12:08 +00:00
Will Tatam
7c05914e5a
Merge branch 'main' into aws-queue-0_16
2025-01-26 16:07:15 +00:00
netmindz
daa438b349
Merge pull request #3835 from Aircoookie/gif
...
Image effect (GIF support)
2025-01-26 15:46:16 +00:00
Will Tatam
35624ab998
Merge branch 'main' into gif-fix
2025-01-26 15:19:56 +00:00
netmindz
2d6ad41ed4
Merge pull request #4430 from inverse/fix-devcontainers-config
...
Use proper devcontainers schema for vscode customisations
2025-01-25 08:20:38 +00:00
netmindz
8544bdd881
Merge pull request #4518 from zuckschwerdt/gh-add-gz-nightly
...
Nightly release - Add bin.gz artifacts
2025-01-25 07:48:21 +00:00
Christian W. Zuckschwerdt
a778ff01f6
Nightly release - Add bin.gz artifacts
2025-01-24 23:17:01 +01:00
Blaž Kristan
e7c0ce794b
Merge conflict fix
...
- updated blending style constants
2025-01-24 10:10:14 +01:00
Will Miles
4c50119ac2
Merge remote-tracking branch 'upstream/main' into esp8266-pwm-phase
2025-01-23 19:39:01 -05:00
Will Miles
2181618357
stress_test: Add replicated index as a target
...
No locking contention, but a much larger target
2025-01-23 19:10:43 -05:00
Will Miles
bec7e54f7f
Defer web requests if JSON lock contended
...
Use the web server's queuing mechanism to call us back later.
2025-01-23 19:10:43 -05:00
Will Miles
dc317220b3
Debug: Dump web server queue state
...
This can be helpful for debugging web handler related issues.
2025-01-23 19:10:43 -05:00
Will Miles
981750a48a
Enable webserver queue and limits
...
Enable the new concurrent request and queue size limit features
of AsyncWebServer. This should improve the handling of burst
traffic or many clients, and significantly reduce the likelihood
of OOM crashes due to HTTP requests.
2025-01-23 19:10:43 -05:00
Will Miles
1df717084b
Update to AsyncWebServer v2.4.0
...
Includes update to use matching newer AsyncTCP on ESP32
2025-01-23 19:10:28 -05:00
Will Tatam
f2caf14d6a
Fix missing hideDMXInput and hideNoDMXInput functions
2025-01-22 20:33:15 +00:00
Will Miles
c9672b35ce
Merge pull request #4511 from mlichvar/main
...
fix reproduction in game of life
2025-01-21 19:56:51 -05:00
Miroslav Lichvar
39512da74e
fix reproduction in game of life
...
A typo caused broken counting of the most common color in neighbouring
cells and blocked reproduction in some directions.
2025-01-21 20:01:04 +01:00
Will Miles
0d44e7ec27
Usermods: Remove libArchive
...
This is now managed centrally.
2025-01-21 00:12:37 +00:00
netmindz
2448266d7c
Merge pull request #4158 from Aircoookie/blending-styles
...
Effect blending styles (recreated PR from #3877 )
2025-01-20 11:30:57 +00:00
Blaž Kristan
3a426e258b
Merge branch 'main' into blending-styles
2025-01-20 11:19:43 +01:00
5chubrakete
4951be6999
Added some date and time formatting options to scrolling text effect. ( #4195 )
...
Updated to nonbreaking change and auto uppercasing according to review.
2025-01-20 06:24:10 +01:00
Ryan Ross
01a71132d5
connect the seven segment reloaded usermod to BH1750 usermod ( #4503 )
2025-01-20 06:12:12 +01:00
Damian Schneider
a421a90e0a
replacement for fastled sqrt16() ( #4426 )
...
* added bitwise operation based sqrt16
- replacement for fastled, it is about 10% slower for numbers smaller 128 but faster for larger numbers. speed difference is irrelevant to WLED but it saves some flash.
* updated to 32bit, improved for typical WLED use
- making it 32bits allows for larger numbers
- added another initial condition check for medium sized numbers
- increased the "small number" optimization to larger numbers: the function is currently only used to calculate sqrt(x^2+y^2) which even for small segments is larger than the initially used 64, so optimizing for 1024 makes more sense, although the value is arbitrarily chosen
2025-01-20 05:51:04 +01:00
Will Miles
1d558e8391
platformio.ini: Add extra flags for usermod test
...
Define a couple pins, leave a note where the usermod list comes from.
2025-01-19 22:25:34 +00: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
48372bcd91
platformio: Fix audioreactive usermod for ESP8266
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
Damian Schneider
aab29cb0ab
consolidated colorwaves and pride into one base function
...
the two FX are almost identical in code with just a few lines difference.
2025-01-19 09:04:54 +01:00
Frank
566c5057f9
optimizations as per reviewer recommendations
...
* removed unneeded initializations in blur() and blur2D()
* remove check for _t in progress()
* code readability: if (_t) --> if(isInTransition())
* add `isInTransition()` checks to currentBri() and currentMode()
* added missing `_transitionprogress = 0xFFFFU` in stopTransition()
2025-01-19 07:35:46 +01:00
Frank
cd52d7bcf6
align some function declariations with their implementation
...
This is purely a "clean code" thing, no impact on function - it helps to avoid confusion when reading the code.
C++ allows declaration and implementation to use different variable names.
2025-01-19 07:35:46 +01:00