diff options
Diffstat (limited to 'c/src/lib/libbsp/arm/atsam/libraries/libboard/resources_v71/system_samv71.c')
-rw-r--r-- | c/src/lib/libbsp/arm/atsam/libraries/libboard/resources_v71/system_samv71.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/atsam/libraries/libboard/resources_v71/system_samv71.c b/c/src/lib/libbsp/arm/atsam/libraries/libboard/resources_v71/system_samv71.c index 72a4ec06e2..8d7eb8e6a7 100644 --- a/c/src/lib/libbsp/arm/atsam/libraries/libboard/resources_v71/system_samv71.c +++ b/c/src/lib/libbsp/arm/atsam/libraries/libboard/resources_v71/system_samv71.c @@ -78,7 +78,11 @@ extern "C" { * \brief Setup the microcontroller system. * Initialize the System and update the SystemFrequency variable. */ +#ifndef __rtems__ void SystemInit(void) +#else /* __rtems__ */ + void ATSAM_START_SRAM_SECTION SystemInit(void) +#endif /* __rtems__ */ { uint32_t read_MOR; /* Set FWS according to SYS_BOARD_MCKR configuration */ |