Thanks for the quick answer!
But if it must be defined in makefile why is it defined also in chcore_v7m.h/cmparams.h?
Search found 2 matches
- Tue Nov 05, 2013 12:36 pm
- Forum: STM32 Support
- Topic: STM32M4 FPU isn't initialized while start in crt0.c
- Replies: 3
- Views: 3520
- Tue Nov 05, 2013 12:30 pm
- Forum: STM32 Support
- Topic: STM32M4 FPU isn't initialized while start in crt0.c
- Replies: 3
- Views: 3520
STM32M4 FPU isn't initialized while start in crt0.c
Hello,
I tried to use FPU on STM32F4 (OS v 2.6.1) and I've got exception while context switching (while try to vpush {s16-s31}).
I've found CORTEX_USE_FPU is set to TRUE in os/ports/GCC/ARMCMx/chcore_v7m.h:
#define CORTEX_USE_FPU CORTEX_HAS_FPU
CORTEX_HAS_FPU is TRUE in os/ports/GCC/ARMCMx ...
I tried to use FPU on STM32F4 (OS v 2.6.1) and I've got exception while context switching (while try to vpush {s16-s31}).
I've found CORTEX_USE_FPU is set to TRUE in os/ports/GCC/ARMCMx/chcore_v7m.h:
#define CORTEX_USE_FPU CORTEX_HAS_FPU
CORTEX_HAS_FPU is TRUE in os/ports/GCC/ARMCMx ...