J. Nick Koston
d60c358f48
preen
2025-11-15 18:43:39 -06:00
J. Nick Koston
d64bcf27b3
cleanup
2025-11-15 18:17:50 -06:00
J. Nick Koston
d5d61546e7
cleanup
2025-11-15 18:15:10 -06:00
J. Nick Koston
0d147e5d10
missed one
2025-11-15 17:42:01 -06:00
J. Nick Koston
d096f1192d
make bot happy
2025-11-15 17:35:41 -06:00
J. Nick Koston
61eddfdcda
[logger] Reduce ESP32 UART mutex overhead by 50%
2025-11-15 16:47:35 -06:00
J. Nick Koston
20d9ae699c
[logger] Conditionally compile runtime tag-specific log levels for performance ( #11004 )
2025-10-06 09:59:52 +13:00
Jonathan Swoboda
b8cee477fe
[esp32] Use arduino as an idf component ( #10647 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-09-17 17:23:34 -05:00
J. Nick Koston
91228c82e6
[esp8266][logger] Store LOG_LEVELS strings in PROGMEM to reduce RAM usage ( #10569 )
2025-09-08 10:29:45 +12:00
J. Nick Koston
1340665ac7
[logger] Use LogString for UART selection strings (saves 28 bytes RAM on ESP8266) ( #10615 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-05 17:47:53 -05:00
J. Nick Koston
981b906579
[logger] Use C++17 nested namespace syntax ( #9916 )
2025-07-26 11:06:01 -10:00
tomaszduda23
5d9cba3dce
[nrf52, core] nrf52 core based on zephyr ( #7049 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Samuel Sieb <samuel-github@sieb.net >
Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-07-16 13:00:21 +12:00
J. Nick Koston
ee8ee4e646
Optimize logger callback API by including message length parameter ( #9368 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-07 22:00:03 +00:00
J. Nick Koston
e017250445
Reduce logger CPU usage by disabling loop when buffer is empty ( #9160 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-06-26 13:44:07 +12:00
J. Nick Koston
59889a6286
Reduce Logger memory usage by optimizing variable sizes ( #9161 )
2025-06-23 14:06:02 +12:00
J. Nick Koston
07cf6e723b
Fix unbound BLE event queue growth and reduce memory usage ( #9052 )
2025-06-15 04:45:41 +00:00
J. Nick Koston
c0b05ada1a
Reduce ESP_LOGCONFIG calls ( #9026 )
2025-06-09 00:02:30 +00:00
J. Nick Koston
e47741d471
Fix ESP32 console logging corruption and message loss in multi-task ( #8806 )
2025-05-19 07:43:41 +12:00
J. Nick Koston
0b77cb1d16
Logger Recursion Guard per Task on ESP32 ( #8765 )
2025-05-15 21:36:28 +12:00
J. Nick Koston
a9d5eb8470
Fix missing recursion guard release on ESP8266 ( #8766 )
2025-05-13 13:17:37 +12:00
J. Nick Koston
dded81d622
Fix ESP32 API Disconnects Caused by Concurrent Logger Writes ( #8736 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-05-13 07:03:34 +12:00
Jonathan Swoboda
46b6dcdfbf
[logger] Fix bug causing global log level to be overwritten ( #8248 )
2025-02-13 19:56:08 +00:00
Clyde Stubbs
ff7d232ee6
[logger] Add runtime level select ( #8222 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-02-10 15:53:26 +13:00
Keith Burzinski
e229ed0da3
[logger] clang-tidy fixes for #7822 ( #7875 )
2024-11-28 11:23:40 +13:00
tomaszduda23
8796a4c1a7
print task name if logger is called from other than main thread ( #6630 )
2024-05-06 10:10:49 +12:00
tomaszduda23
d4489ac373
dump config after logging CDC port is opened by host ( #6169 )
2024-03-11 11:43:33 +13:00
Clyde Stubbs
0bc645ded7
Fix build failures on host platform caused by #6167 ( #6338 )
...
* Fix build failures for logger component on host platform
* Add climits header
* Restore logger functionality on host
* Install libsodium in ci
2024-03-09 21:08:58 -06:00
tomaszduda23
de2d5a65b5
Separate logger implementations for each hardware platform into different files ( #6167 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2024-03-05 10:52:52 +13:00
Clyde Stubbs
f3ef05f5c3
host platform: improvements and bugfixes ( #6137 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-02-07 14:24:06 +13:00
Keith Burzinski
082d9fcf0e
ESP32-C3 USB_CDC fixes ( #6069 )
2024-01-11 08:05:34 +09:00
Keith Burzinski
059e4cee58
Add workaround for crash in Arduino 2.0.9 when CDC is configured ( #5987 )
2023-12-22 10:42:12 +09:00
Keith Burzinski
d99598bba6
Use the correct UART/Serial when CDC is enabled ( #5957 )
2023-12-18 07:33:12 +00:00
Jesse Hills
777cdb1c21
Allow use of CDC/JTAG loggers on esp32 variants with Arduino ( #4658 )
...
* Allow use of CDC/JTAG loggers on esp32 variants with Arduino
* Only on s2/s3
* Separate C3 from S2/S3
* C code builds & runs correctly, still needs work though
* Works on S2
* It works!
* Remove unnecessary header
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2023-12-13 22:24:16 -06:00
Keith Burzinski
b632ae49d4
Improv Serial support via USB CDC and JTAG ( #5559 )
2023-10-19 19:53:09 +13:00
Austin
fa0dcac2c7
Initial ESP32-H2 Support ( #5498 )
2023-10-09 07:34:12 +13:00
Kuba Szczodrzyński
a9630ac847
Support for LibreTiny platform (RTL8710, BK7231 & other modules) ( #3509 )
...
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
Co-authored-by: Sam Neirinck <git@samneirinck.com >
Co-authored-by: David Buezas <dbuezas@users.noreply.github.com >
Co-authored-by: Stroe Andrei Catalin <catalin2402@gmail.com >
Co-authored-by: Sam Neirinck <github@samneirinck.be >
Co-authored-by: Péter Sárközi <xmisterhu@gmail.com >
Co-authored-by: Hajo Noerenberg <hn@users.noreply.github.com >
2023-09-05 10:16:08 +12:00
Clyde Stubbs
2bb5f53b98
Make uart error message go away ( #5329 )
...
* Make error message in log go away.
* Test for IDF version.
2023-09-01 17:10:08 -05:00
Austin
fe7893d1b3
Support for ESP32-C2 & ESP32-C6 ( #4377 )
...
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be >
2023-08-21 09:42:03 +12:00
Sergey Dudanov
cd72a2ed7e
Bump clang-tidy from 11 to 14 ( #5160 )
2023-07-31 07:44:56 +12:00
Jesse Hills
c835b67bac
Add host target platform ( #4783 )
...
Co-authored-by: Otto winter <otto@otto-winter.com >
2023-05-10 11:38:18 +12:00
Jörg Thalheim
421ebcc8b2
use PRIx macros for printing u32/i32 ints ( #4671 )
...
This fix compilation issues with the latest esp-idf.
2023-04-10 22:20:02 +00:00
Jesse Hills
de79171815
RP2040 uart support ( #3990 )
2022-11-07 10:01:40 +13:00
Jesse Hills
6153bcc6ad
Initial Support for RP2040 platform ( #3284 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2022-10-20 16:50:39 +13:00
André Klitzing
0ecf9f4f2f
Fix compilation with ESP32-S3 ( #3543 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-06-14 20:36:38 +12:00
Unai
3a3d97dfa7
Add SERIAL_JTAG/CDC logger option for ESP-IDF platform for ESP32-S2/S3/C3 ( #3105 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-05-10 13:28:22 +12:00
Jens-Christian Skibakk
d2f37cf3f9
Support for Arduino 2 and serial port on ESP32-S2 and ESP32-C3 ( #3436 )
2022-05-09 16:17:22 +12:00
Jesse Hills
5ff7c8418c
Implement Improv via Serial component ( #2423 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2021-11-11 08:55:45 +13:00
Oxan van Leeuwen
63d6b610b8
Don't define UART_SELECTION_UART2 when UART2 is unavailable ( #2512 )
2021-10-14 11:25:10 +02:00
Oxan van Leeuwen
6bbb5e9b56
Disallow using UART2 for logger on ESP-32 variants that lack it ( #2510 )
2021-10-14 09:21:43 +13:00
Maurice Makaay
d13134135b
Fix LoadProhibited crash for logger baud_rate 0 ( #2498 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net >
2021-10-12 13:51:41 +02:00