1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00

[nrf52] add printk doc (#12839)

This commit is contained in:
tomaszduda23
2026-01-04 01:12:31 +01:00
committed by GitHub
parent 2e2e54811a
commit ec05692f0d

View File

@@ -66,6 +66,8 @@ void Logger::pre_setup() {
void HOT Logger::write_msg_(const char *msg, size_t len) {
// Single write with newline already in buffer (added by caller)
#ifdef CONFIG_PRINTK
// Requires the debug component and an active SWD connection.
// It is used for pyocd rtt -t nrf52840
k_str_out(const_cast<char *>(msg), len);
#endif
if (this->uart_dev_ == nullptr) {