mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cortexm: initialise fpu early
This commit is contained in:
parent
dee65e7ec6
commit
e3c9b0c4ca
@ -70,8 +70,6 @@ CORTEXM_STATIC_INLINE void cortexm_init_misc(void)
|
||||
|
||||
void cortexm_init(void)
|
||||
{
|
||||
cortexm_init_fpu();
|
||||
|
||||
/* configure the vector table location to internal flash */
|
||||
#if defined(CPU_CORE_CORTEX_M3) || defined(CPU_CORE_CORTEX_M33) || \
|
||||
defined(CPU_CORE_CORTEX_M4) || defined(CPU_CORE_CORTEX_M4F) || \
|
||||
|
@ -99,6 +99,8 @@ void reset_handler_default(void)
|
||||
uint32_t *dst;
|
||||
const uint32_t *src = &_etext;
|
||||
|
||||
cortexm_init_fpu();
|
||||
|
||||
#ifdef MODULE_PUF_SRAM
|
||||
puf_sram_init((uint8_t *)&_srelocate, SEED_RAM_LEN);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user