ra8-firmware
0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
main.c
Go to the documentation of this file.
1
21
22
#include <stdint.h>
23
24
#include "
ra8_boot_entry.h
"
25
31
volatile
uint32_t
g_ra8_secure_fallback_count
= 0U;
32
37
void
main
(
void
)
38
{
39
g_ra8_secure_fallback_count
= 1U;
40
41
for
(;;) {
42
__asm__
volatile
(
"nop"
);
43
}
44
}
g_ra8_secure_fallback_count
volatile uint32_t g_ra8_secure_fallback_count
Diagnostic counter incremented if Secure fallback main is reached.
Definition
main.c:31
main
void main(void)
Secure fallback main entry point.
Definition
main.c:37
ra8_boot_entry.h
Boot entry points shared between a vector table and its startup code.
apps
board
stand_alone
ereader
src
main.c
Generated by
1.16.1