[fpc-devel] Enabling hardware floating point processor for cortex-m4f on embedded and freertos

Florian Klämpfl florian at freepascal.org
Fri Feb 19 22:11:57 CET 2021


Am 19.02.21 um 21:55 schrieb Michael Ring via fpc-devel:
> When rtl for arm-embedded/arm-freertos is build with hardfloat the fpu 
> should also automagically get enabled, by default it is off which causes 
> a crash when floats are used.
> 
> This small patch fixes that problem in cortexm4f_start.inc
> 
> can you please apply this patch to trunk?

Thanks, I applied it in a modified form so the presence of an vfp unit 
is checked, this should be more future and fool proof :)


More information about the fpc-devel mailing list