32#ifdef RA8_APP_UART_LOG
40static const char*
s_tag =
"NSCPRH";
44#ifdef RA8_APP_UART_LOG
50typedef enum : uint32_t {
51 k_ra8_nsc_uart_log_baud = 115200U,
52} ra8_nsc_uart_log_cfg_t;
75static void internal_uart_log_sink(
void* ctx, uint8_t
byte)
142#ifdef RA8_APP_UART_LOG
static const char * s_tag
Logging / check tag.
Annotation-attribute framework macros for ra8-firmware.
#define RA8_NSC_VENEER
Mark a TrustZone Secure-to-Non-Secure entry-point veneer.
#define RA8_INTERNAL
Marker that a function is intended to be static (file-local).
Board-support layer for the Renesas EK-RA8D2 v1 evaluation kit.
ra8_err_t ra8_board_uart_console_write(const uint8_t *data, size_t len)
Polled blocking write to the J-Link OB VCOM console.
ra8_err_t ra8_board_uart_console_init(uint32_t baud)
Configure SCI8 + PD02/PD03 as the debug-console UART.
static bool s_initialized
True once display_init has succeeded.
Generic DMA transfer substrate (DMAC engine).
ra8_err_t ra8_dma_init(void)
Initialise the DMA substrate.
Error Code Definitions for ra8-firmware.
@ k_ra8_err_hw_init_failed
Hardware peripheral failed to initialise.
@ k_ra8_ok
Success – operation completed with all postconditions satisfied.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
NVIC + ICU IELSR allocator.
ra8_err_t ra8_isr_init(void)
Initialise the ra8_isr table.
Lightweight Logging Interface for ra8-firmware.
void ra8_log_set_byte_sink(ra8_log_byte_sink_fn_t fn, void *ctx)
Install (or clear) an optional byte sink for log output.
#define ra8_log_error_val(tag, message, value)
RA8 log error val.
#define ra8_log_info(tag, message)
RA8 log info.
Ref-counted Module Stop Control wrapper for the RA8D2.
ra8_err_t ra8_mstp_init(void)
Re-establish the ra8_mstp ref-count table from current hardware state.
Non-Secure Callable veneers – the only NS->S gateway.
ra8_err_t ra8_nsc_periph_init(void)
NSC veneer: bring up the secure-side peripheral substrate.
Macros for declaring Non-Secure Callable veneer functions.
Low Power Mode + clock-domain wrapper.
ra8_err_t ra8_pwr_init(void)
Initialise the LPM substrate.