38static const char*
const s_tag =
"ra8_board.console_stream";
static const char * s_tag
Logging / check tag.
Board-support layer for the Renesas EK-RA8D2 v1 evaluation kit.
bool priv_ra8_board_uart_console_is_up(void)
Implementation of priv_ra8_board_uart_console_is_up() – reads the same flag the write / read / flush ...
ra8_err_t ra8_board_console_stream(ra8_io_stream_t *out)
Bind the J-Link OB VCOM console into a caller-owned stream handle.
static ra8_io_stream_uart_state_t s_console_sink
Sink state backing every stream handle bound to the board console.
EK-RA8D2 debug console as an ra8_io_stream byte sink.
Cross-translation-unit seam for the EK-RA8D2 BSP implementation.
@ k_ra8_board_uart_console_sci_channel
PD02/PD03 -> SCI8 (verified on real EK-RA8D2 v1 silicon).
Validation and Error-Checking Macros for ra8-firmware.
#define RA8_CHECK_NULL_PTR(ptr, tag, message)
Reject nullptr pointer, returning k_ra8_err_null_ptr.
Error Code Definitions for ra8-firmware.
@ k_ra8_err_not_initialized
Module not initialized – _init() not yet called successfully.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
ra8_io targetable byte-stream facade – one writer, many destinations.
ra8_io byte-stream sink over a UART/SCI channel.
ra8_err_t ra8_io_stream_uart_init(ra8_io_stream_t *s, ra8_io_stream_uart_state_t *state, uint8_t channel)
Bind a UART stream sink into a caller-owned stream handle.
Caller-allocated byte-stream handle binding a sink to its context.
Caller-owned private state for a UART stream sink.