diff options
Diffstat (limited to 'c/src/lib/libbsp/arm/atsam/libraries/libchip/include/same70/system_same70.h')
-rw-r--r-- | c/src/lib/libbsp/arm/atsam/libraries/libchip/include/same70/system_same70.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/atsam/libraries/libchip/include/same70/system_same70.h b/c/src/lib/libbsp/arm/atsam/libraries/libchip/include/same70/system_same70.h index f4c4d8edd8..fd0428426c 100644 --- a/c/src/lib/libbsp/arm/atsam/libraries/libchip/include/same70/system_same70.h +++ b/c/src/lib/libbsp/arm/atsam/libraries/libchip/include/same70/system_same70.h @@ -29,6 +29,9 @@ #ifndef SYSTEM_SAME70_H_INCLUDED #define SYSTEM_SAME70_H_INCLUDED +#ifdef __rtems__ +#include <bsp/atsam-clock-config.h> +#endif /* __rtems__ */ /* @cond 0 */ /**INDENT-OFF**/ @@ -46,7 +49,11 @@ extern uint32_t SystemCoreClock; /* System Clock Frequency (Core Clock) */ * @brief Setup the microcontroller system. * Initialize the System and update the SystemCoreClock variable. */ +#ifndef __rtems__ void SystemInit(void); +#else /* __rtems__ */ +void ATSAM_START_SRAM_SECTION SystemInit(void); +#endif /* __rtems__ */ /** * @brief Updates the SystemCoreClock with current core Clock |