[fpc-pascal] fpc for ARM on STM32F103

Florian Klämpfl florian at freepascal.org
Sun Jan 22 22:05:22 CET 2017

Am 22.01.2017 um 21:43 schrieb Marc Santhoff:
> On So, 2017-01-22 at 21:20 +0100, Florian Klämpfl wrote:
>> Am 22.01.2017 um 19:33 schrieb Marc Santhoff:
>>> Hi,
>>> I'd like to know if the floating point hardware on STM32F103
>> What floating point hardware does it have? According to a quick search, it is a Cortex-M3 which has
>> no hardware floating point support?
> Indeed, you're right. Having my head wrapped around a cpouple of
> different SoCs I was blinded by the F in the name. Cortex-M4 may have
> floating point hardware, if the implementer decides to build it into the
> chip.
> OK, moving the question to the STM32F4xx devices having "ARM FPv4-SP
> single-precision FPU". Does fpc support that one?

Yes. Compile with -Cffpv4_s16 while using rtl/packages built with CROSSOPT=-Cffpv4_s16, just add
this to the command line provided by Jeppe's site.

More information about the fpc-pascal mailing list