|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Directories | |
| src | |
A minimal, teaching-focused example of the structure the main e-reader application (apps/board/stand_alone/ereader) uses: CPU0 (Cortex-M85) split into a Secure and a Non-Secure project. The Secure side handles secure boot, configures the SAU, hosts the Non-Secure Callable veneers, and transitions to the Non-Secure world; the Non-Secure side runs the ThreadX kernel with two user threads that reach back through NSC veneers for logging and peripheral init.
The sequence is the content here – each step exists because the previous one left the core somewhere it could not stay:
Logging goes through ra8_nsc_log_emit(), which copies the message into a secure scratch buffer before writing it to the ITM stimulus port – the Non-Secure side never touches the port itself.