1
0
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:
Sebastiaan de Schaetzen 2021-04-29 13:00:06 +02:00
parent dee65e7ec6
commit e3c9b0c4ca
2 changed files with 2 additions and 2 deletions

View File

@ -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) || \

View File

@ -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