Default FPU Mode
I’ve created a new project based on custom STM32F407 board with default settings.
The files are being compiled using these FPU settings: mfloat-abi=hard -mfpu=fpv4-sp-d16
The startup_stm32.s file contains this code:
.syntax unified
.cpu cortex-m4
.fpu softvfp
.thumb
I’m not sure, but isn’t there a conflict here (i.e. hard vs soft)? Shouldn’t changing the FPU settings in the project change also the .fpu line in the startup file?