Will Miles
1d27aa2f18
Move .ino to .cpp
...
This fixes platformio continually recompiling this file.
2024-08-04 15:47:02 -04:00
Will Miles
113dbbdf94
Use DEBUG_PRINTF_P for jsonBufferLock
...
Tiny code space usage reduction.
2024-08-04 15:27:23 -04:00
Will Miles
e701b5b5eb
util: Print locking module when JSON lock fails
...
For debugging, also log who was trying to lock when it was contended.
2024-08-04 15:27:23 -04:00
Will Miles
6f01896d04
requestJSONBufferLock: Fix locking implementation
...
On ESP8266, it isn't permissible to call delay() in system context;
ensure this is legal before waiting.
On ESP32, use an operating system mutex to ensure consistent variable
state in a multicore environment, and manage the wait without needing
to loop.
2024-08-04 15:27:18 -04:00
Will Miles
5582bbac60
stress_test: Add code for logging responses
2024-08-04 13:47:37 -04:00
Blaž Kristan
d2401a212a
Merge pull request #4082 from PaoloTK/fix_esp32c3_pwm_bit_depth
...
Fix incorrect PWM bit depth on Esp32 with XTAL clock
2024-08-04 17:10:21 +02:00
Blaz Kristan
52548542d2
Remove clock/max bit overrides
...
Move contants into bus manager
2024-08-04 17:05:47 +02:00
Will Miles
509cbdf476
Add UDP test code
...
Courtesy of @_tvk_ on Discord
2024-08-04 09:57:01 -04:00
Will Miles
5a6ebd6657
stress_test: Allow replication argument
2024-08-04 09:57:01 -04:00
Will Miles
541d3f286a
stress_test: Make it worse
...
Read 40 copies!
2024-08-04 09:57:01 -04:00
Will Miles
0191af412b
stress_test: Add small JSON target
...
Good for measuring quick response performance
2024-08-04 09:57:01 -04:00
Will Miles
abcd2a2d01
tools/stress_test: Allow command line target spec
2024-08-04 09:57:01 -04:00
Will Miles
91efcb910b
stress_test: Add a larger JSON target
2024-08-04 09:57:01 -04:00
Will Miles
e9b7320d1c
Add preliminary web stress test script
2024-08-04 09:57:01 -04:00
PaoloTK
779744bd8e
typo in comment
2024-08-03 15:56:29 +02:00
PaoloTK
1123d85fd2
removed float math and log(), added max bit width
2024-08-03 15:54:39 +02:00
PaoloTK
5c247d2833
first implementation
2024-08-01 20:25:18 +02:00
Robin Meis
17fdb4f5c9
Allow lower values for touch threshold
2024-08-01 19:49:47 +02:00
Frank
ef8f23ce90
Merge pull request #4073 from axlan/devcountainer-runargs
...
Add example runArgs to devcountainer to access serial port (for firmware upload) directly from the devcontainer.
2024-07-30 12:45:16 +02:00
jdiamond
050f7ebddf
Add note for Windows.
2024-07-29 18:00:46 +00:00
jdiamond
10fdf46410
Clarify security implicatations.
2024-07-29 17:34:10 +00:00
Blaž Kristan
49976ae35a
Merge pull request #4078 from apanteleev/fire-blur-control
...
Add a parameter for blur amount in the Fire 2012 effect
2024-07-29 07:31:33 +02:00
Frank
21afb05409
Merge pull request #4077 from adrianschroeter/0_15
...
2DGEQ: Getting same sized bar width on 32x32 display, and better distribution of bar width in general.
2024-07-28 17:35:08 +02:00
Alexey Panteleev
0af1ec3bde
Added a parameter for blur amount in the Fire 2012 effect.
2024-07-27 12:33:59 -07:00
Adrian Schröter
343d766ddd
2DGEQ: Getting same sized bar width on 32x32 display
...
before a x=32 (n times of 16) had not equal sized bars, but first was
a single pixel and later a bar had 3 pixel width. This solves it to
have always 2 pixel sized bars.
I have to admit that I did not test with other pixel dimensions.
2024-07-27 12:44:16 +02:00
jdiamond
02cae2e61e
Add example runArgs to devcountainer to access serial port.
2024-07-25 04:47:44 +00:00
Frank
42decbddd9
Merge pull request #4060 from DedeHai/0_15_bootdelay
...
boot-up delay to fix wifi not starting in some setups
use
`-D WLED_BOOTUPDELAY=500` (or some other delay you want, in milliseconds)
in platformio env definition to add 500ms of delay before hardware init.
2024-07-22 11:25:00 +02:00
Blaz Kristan
b71467b9be
LED settings remove output bugfix
2024-07-17 22:24:08 +02:00
Damian Schneider
ac503ef72e
adding boot-up delay define
...
use
-D WLED_BOOTUPDELAY=500
in platformio env definition to add 500ms of delay before hardware init.
2024-07-17 18:54:33 +02:00
Frank
ea608cecb0
Merge pull request #3962 from gaaat98/esp8266-audioreactive-sync
...
ESP8266 audioreactive UDP sound sync ported from MoonModules/WLED - receive only
2024-07-13 10:16:07 +02:00
Frank
2e266ec945
use fixes-size stack buffer
...
... protected against array overflow due to previous "if (packetSize <= UDPSOUND_MAX_PACKET)"
2024-07-13 09:55:59 +02:00
Blaž Kristan
bec1adf7ad
Merge pull request #4035 from willmmiles/esp8266_pwm_fix
2024-07-13 07:13:09 +02:00
Will Miles
2fc2f47d06
ESP8266PWM: Annotate sources
...
Add additional clarification as to the original source URL and the
specific local patches.
2024-07-12 19:16:31 -04:00
Frank
3a8e19d1b4
audiosync receive improvements (maintainer edit)
...
* fixed a few typo's in comments
* fixed 8266 specific warning about 'comparison of integer expressions of different signedness'
based on recommendations made by @willmmiles:
* make sure that audioSyncPacket is the same size (44bytes) on all platforms
* use static buffer for receiving (avoids heap fragmentation)
* copy receive buffer to local audioSyncPacket struct - avoids alignment problems
* esp32 only: to stay in sync with UDP, Udp.flush() is needed when Udp.parsePacket() is _not_ followed by Udp.read()
2024-07-12 22:09:52 +02:00
gaaat98
cc9db0220c
removed audioreactive usermod build flag
2024-07-12 16:59:08 +02:00
Blaz Kristan
cd1ede38a7
Size & speed optimisations
2024-07-11 21:22:58 +02:00
Blaž Kristan
1ec68c428a
Merge pull request #4051 from Nickbert7/patch-1
...
Fix typo in "Battery" usermod (Build Failed)
2024-07-11 18:52:30 +02:00
Niklas Fäth
f6ed3bc9db
Fix typo in "Battery" usermod (Build Failed)
2024-07-11 13:56:33 +02:00
Blaz Kristan
34cdda2e28
Merge branch '0_15' of https://github.com/aircoookie/WLED into 0_15
2024-07-10 15:08:34 +02:00
Blaž Kristan
4ab2c907f5
Merge pull request #4048 from willmmiles/mpu6050-crash-fix
...
Mpu6050 usermod crash fix
2024-07-10 06:31:41 +02:00
Will Miles
8632d99341
MPU6050: Fix crash when enabling
...
Avoid reconfiguring the device during web server context, which can
trigger a yield(). Instead defer the device initialization to loop().
2024-07-09 18:49:53 -04:00
Blaz Kristan
efa32ed4f6
Size optimisations
2024-07-09 21:50:27 +02:00
Blaz Kristan
551b8af76d
Hide 2D effects on 1D segments
2024-07-09 19:00:32 +02:00
Blaz Kristan
887254f5da
Bugfixes
...
- LED memory calculation (not UI)
- potential fix for #4040
- compiler warning in FX
2024-07-07 14:18:51 +02:00
Blaz Kristan
5874b78349
Bugfixes
...
- FX: Breathe, Meteor
- IR: use Segment
- UI: palette search, LED settings
2024-07-05 21:22:05 +02:00
Blaž Kristan
a812fc07f2
Merge pull request #4033 from adamsthws/0_15_internal_temp_usermod_improvement_new
...
Usermod Updated: Internal Temperature V2
2024-07-03 07:12:52 +02:00
Adam Matthews
78e7312adf
Update usermod internal temperature
...
Enabled the storing the currently active preset or playlist for it to be restored later
2024-07-01 00:26:03 +01:00
Blaz Kristan
693bf4816b
Minor tweaks.
2024-06-30 10:44:25 +02:00
Blaz Kristan
b8b11880b0
Merge branch 'main' into 0_15
2024-06-29 20:27:37 +02:00
Blaz Kristan
0ff4016250
WLED 0.15.0-b4 release
...
- LED settings update (limit to available outputs)
- minor fixes
2024-06-29 20:22:47 +02:00