Frank
a5c6740d96
add P4, bring back lost comment
...
minor updates
- added ESP32-P4 to USB-CDC whitelist
- restored lost comment
2026-02-06 19:00:48 +01:00
Troy
ff93a85fa6
Always allow serial console on S3/C3/C6/etc
2026-01-29 13:40:55 -05:00
Frank
5b52ee612f
clean up handling of USB-CDC Serial
...
when ARDUINO_USB_CDC_ON_BOOT is set, USB-CDC pins are always assigned to 'Serial'.
2025-11-16 14:05:30 +01:00
Troy
ef6bedee76
Minor tidy
2024-08-21 13:53:14 -04:00
Troy
0a26aa918c
Fixes for non-ESP32 boards
2024-08-21 13:51:58 -04:00
Troy
9e24a634c2
ESP32 Dual Booting
2024-08-21 13:43:59 -04:00
Frank
15199dc711
protect unconnected USB-CDC from being used
...
found a few more places where Serial was used without first checking if its connected.
Arduino docs: `if (Serial)` indicates whether or not the USB CDC serial connection is open. For all non-USB CDC ports, this will always return true
2024-05-29 15:43:24 +02:00
Frank
fc66dcc0ce
squeezing a few KB out of builds that are close to 100% flash usage
2024-05-04 01:44:14 +02:00
Frank
70a5d8b843
a few more compile-time infos about enabled/disabled features
...
helps to understand what you'll get
2024-05-04 01:16:45 +02:00
Frank
7ae38649ad
post merge
...
MM specific adjustments
2024-02-23 10:24:26 +01:00
Blaz Kristan
c9611bde73
JSON buffer lock error messages
...
Reduce wait time for lock to 100ms
2024-02-23 09:49:26 +01:00
Frank
8905992a89
code spell checking - part4 (MM specific)
2023-12-15 00:14:57 +01:00
Troy
35f3f2859a
Oops. Bonus brace.
...
Typo.
2023-06-02 08:16:03 -04:00
Troy
cfc1116249
Force reconnect via Serial input
...
Type "X" into the serial console to force the network to reconnect.
2023-06-02 08:12:30 -04:00
Frank
94a7f5623d
handling of Serial on CDC USB board
...
... like the typical -C3
* Replaced a few direct Serial.printf with macros
* Always check if Serial is connected before printing (CDC sometimes hangs when trying to send/receive without connection)
2023-04-13 22:59:09 +02:00
Frank
076b5b373d
post-merge actions
...
fixes a build problem with MM specific code.
2023-03-19 16:13:44 +01:00
Frank
72a77bea9c
Merge remote-tracking branch 'upstream/main' into mdev
2023-03-16 16:54:23 +01:00
Frank
cded92662f
workaround for issue #3128
2023-03-16 13:08:34 +01:00
Frank
d9b5b9d4d6
handleSerial(): 100ms RX timeout (experimental)
...
experimental - this should avoid lockups when ESP32 is constantly receiving data (noise, junk, excessive communication)
2023-03-16 11:30:12 +01:00
Frank
e1f14628b0
4LD + rotary hotfix: corrupted display on esp32
...
This s a temporary fix for display problems (corrupted display, sometimes crash). These problems exists since 0.14. as display updates are now running in a separate task.
The fix is still incomplete.
If nothing else works, you can use the 0.13.x behavior by compiling with `-D FLD_ESP32_NO_THREADS`
* fixing a few unsafe string operations and non-initialized strings
* fix max length for "two lines" names
* make sure that display methods are exiting early if display is not configured
* rotary_ALT : additional checks to ensure that drawing on the display does not overlap with redraw
* added some safeguards to prevent overlapping display redraw operations
--> Actually this should use semaphore/mutex instead of global booleans -> Still on my toDo list.
2023-02-02 18:37:13 +01:00
Frank
6adab4fe91
small update
2023-01-14 23:37:18 +01:00
Frank
880afdf877
stability improvement for CDC Serial
2023-01-14 22:42:42 +01:00
Ewoud
66b15d32d9
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-07 12:01:03 +01:00
Blaž Kristan
506b6b51ce
whitespace cleanup
2023-01-06 09:24:29 +01:00
Frank
676cc26171
use Serial.print for important info like wifi stuff
...
.. and for other important info.
Will be muted automatically in case that serial is in used for other purposes.
2022-12-04 17:52:10 +01:00
ChuckMash
7cd9e8860d
Update wled_serial.cpp ( #2667 )
...
Add Continuous Serial Streaming feature to wled_serial.
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com >
2022-09-26 10:08:31 +02:00
Frank
6771bd84c6
introduce hardwareTX / hardwareRX
...
RX/TX is not defined on all boards.
Fall-back to previous behavior on "classic" ESP32 and 8266.
2022-09-11 00:16:48 +02:00
Blaz Kristan
2cd40c7552
ESP32-S2 support.
2022-09-09 23:21:47 +02:00
Blaz Kristan
e9cd4d95a7
Merge branch 'master' into master-merge
2022-05-29 18:22:33 +02:00
ChuckMash
d1f76042e1
bugfix for outgoing serial TPM2 message length ( #2628 )
...
bugfix for outgoing serial TPM2 message length
2022-04-12 10:20:08 +02:00
Blaž Kristan
e0fcaa6103
Merge branch 'master' into master-merge
2022-03-11 11:28:02 +01:00
cschwinne
f922268af7
Remove unneeded brightness set in live Serial
2022-03-11 08:41:01 +01:00
cschwinne
4865ddb377
Fix realtime mode disabled by brightness change
...
Fix realtime mode not working immediately at turn on
Fix individual segment control not working immediately at turn on
2022-03-10 20:40:48 +01:00
Blaz Kristan
d4ea30e081
Merge branch 'master' into merge-master
2022-02-10 14:16:55 +01:00
Henry Gabryjelski
38bc618ee5
Float and better 3rd party library compatibility ( #2534 )
...
* define as float (not double)
* Avoid #define of 1 or 2 char symbols
Having this file define 'A' and 'C' pollutes
the global namespace, and causes conflicts
with other libraries that also pollute the
global namespace with short #defines.
It's easier to fix this header.
* unused variable warning
2022-02-09 09:46:54 +01:00
Blaz Kristan
52f0ae9350
Merge branch 'master' into master-merge
...
Few UI fixes.
2022-02-03 17:40:44 +01:00
cschwinne
00dbdc2267
Baud rate setting
2022-02-01 20:02:46 +01:00
cschwinne
32286888e5
PinManager, cleanup and tmp2 out
2022-02-01 18:21:30 +01:00
ChuckMash
22fbb0e35b
Update wled_serial.cpp
...
Adds serial functionality
Can now change baud rate during runtime to be faster
Retrieve LED strip data as JSON blob
Retrieve LED strip data as BYTES (fast!)
2022-01-28 23:35:40 -08:00
Blaz Kristan
8386b9a0b4
Removed dynamic JSON buffer entirely.
...
Temporary presets in RAM (ESP32)
Async loading of presets (stability).
Other minor fixes.
Bumped version to 0.13.1-bl6
2022-01-01 12:52:50 +01:00
Blaz Kristan
156b499f93
Merge branch 'master' of https://github.com/aircoookie/WLED into dev
2021-12-07 17:18:38 +01:00
Christian Schwinne
66bad2b6f8
Single json buffer ( #2336 )
...
* Single/static JSON buffer for all requests.
* Missing json.cpp changes.
* Async fix.
* Added conditional compile (WLED_USE_DYNAMIC_JSON).
* Advanced locking with time-out.
* Missing releaseJSONBufferLock() on error response.
* Fix for config saving.
* Fixes and optimisations.
Dadded debugging information.
* Fix for ledmaps.
* No unsolicited serial sending if GPIO1 allocated
* Stray semicolons
* Fix JSON ledmap
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si >
2021-12-04 01:05:01 +01:00
Blaz Kristan
65ac8d4b2b
Merge branch 'master' into dev
2021-11-17 21:42:27 +01:00
Christian Schwinne
38d8dfe5ab
Improv support ( #2334 )
...
* Working Improv device identification
* Improv functional
* Cast fix
* Minor fix for two back-to-back Improv packets
* Improv checksum update and logic simplification
* Improved improv failed connection behavior
2021-11-16 23:20:26 +01:00
Blaz Kristan
312cbc86e9
Bugfix.
...
Debugging info added.
2021-11-14 16:56:34 +01:00
Blaz Kristan
85ded6e500
Advanced locking with time-out.
...
Bugfixes.
2021-11-12 23:33:10 +01:00
Blaz Kristan
f8da8f6929
Added conditional compile for dynamic JSON buffer.
...
- WLED_USE_DYNAMIC_JSON
Minor fixes.
2021-11-07 11:58:16 +01:00
Blaž Kristan
bd521f858e
Single JSON buffer.
2021-11-03 14:52:22 +01:00
Blaž Kristan
c436b586d2
Merge branch 'master' into dev
2021-09-06 13:36:26 +02:00
Christian Schwinne
54f4658dae
Added JSON API over serial support ( #2156 )
...
* Added JSON API over serial support
* Disable Serial API if pin 3 is used
Disable serial response if pin 1 is used
2021-08-26 11:04:27 +02:00