Secure-side OTA bank commit + flash-bank-config write.
ra8_err_t ra8_ota_commit_set_bank_config(uint32_t raw_value)
Write the bank-config register, masked to the allowed bits.
ra8_ota_bank_t
Bank selector used by ra8_ota_commit_swap_bank.
@ k_ra8_ota_bank_b
Bank B is the next-boot target.
@ k_ra8_ota_bank_a
Bank A is the next-boot target.
ra8_err_t ra8_ota_commit_swap_bank(ra8_ota_bank_t target)
Arm the boot ROM to start from target on next reset.
#define RA8_NSC_VENEER
Mark a TrustZone Secure-to-Non-Secure entry-point veneer.
Error Code Definitions for ra8-firmware.
@ k_ra8_err_invalid_arg
Invalid function argument.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Non-Secure Callable veneers – the only NS->S gateway.
ra8_err_t ra8_nsc_ota_commit(uint8_t target_bank)
NSC veneer: persist an OTA bank-swap commit.
ra8_err_t ra8_nsc_flash_bank_config(uint32_t raw_value)
NSC veneer: write the flash bank-config word.
Macros for declaring Non-Secure Callable veneer functions.