32#ifdef USE_UART_DEBUGGER
33 for (
size_t i = 0; i <
len; i++)
39#if defined(USE_ESP8266) || defined(USE_ESP32) || defined(USE_ZEPHYR)
49#ifdef USE_UART_DEBUGGER
50 for (
size_t i = 0; i <
len; i++)
Fixed-size circular buffer with FIFO semantics and iteration support.
index_type free_space() const
bool push(const T &value)
void load_settings()
Load the UART settings.
CallbackManager< void(UARTDirection, uint8_t)> debug_callback_
UART without a wire: the derived class writes and feeds reads with inject_rx().
void load_settings(bool dump_config) override
bool read_array(uint8_t *data, size_t len) override
StaticRingBuffer< uint8_t, RX_BUFFER_SIZE > rx_
void check_logger_conflict() override
bool peek_byte(uint8_t *data) override
size_t available() override
void debug_tx_(const uint8_t *data, size_t len)
For write_array() of the derived class: hands the written bytes to a configured UART debugger.
bool inject_rx(const uint8_t *data, size_t len)
Adds one whole block to the RX ring; false, and nothing kept, when it does not fit.