[fpc-devel] What is the best match for for -mfpu=fpv4-sp-d16 on fpc-arm?

Michael Ring mail at michael-ring.org
Sat Apr 11 21:03:31 CEST 2020


I have now set up new target freertos-arm and want to start playing 
arround with freertos.

I have compiled freertos with STM32CubeIDE, only 'problem' is that I 
need to compile with floting point enabled, with Soft-Float the build fails.

For STM32F401RE Chip the C-compiler selects

-mfpu=fpv4-sp-d16 -mfloat-abi=hard

but Freepascal doex not seem to support exactly this abi, I see:
NONE
SOFT
LIBGCC
FPA
FPA10
FPA11
VFPV2
VFPV3
NEON_VFPV3
VFPV3_D16
FPV4_S16
VFPV4
NEON_VFPV4

Which setting should I use? VFPV3_D16 or something else?


Thank you,


Michael





More information about the fpc-devel mailing list