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. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal