9 years, 11 months ago.

When will the FPU be enabled on the Nucleo F401?

It doesn't look as if the FPU is enabled in the online compiler for the ST Nucleo F401 board yet.

Could we please have the FPU enabled?

I've just recommended mbed and that board for a high school robotics team based on its having a Cortex-M4F processor with FPU.

Any idea as to when the FPU support might be available?

Thanks!

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F401RET6 microcontroller.

3 Answers

9 years, 11 months ago.

Can you try if it is enabled with the mbed-src lib already: http://mbed.org/users/mbed_official/code/mbed-src/

I think it has been enabled a couple days ago, but that means it is waiting until the next mbed version before the main lib has it, mbed-src is updated way more often (also higher risk of bugs).

9 years, 11 months ago.

For us noobies, could someone explain how we could use/read mbed-src to determine whether the fpu on the Nucleo F01RE is available?

You can't read from mbed-src if it is available, however connected to those mbed-src revisions should afaik be the compiler settings, and those were changed. You could figure out if they are enabled by doing some floating point calculations and timing it, then preferably compared it with the mbed lib results.

If the FPU should be enabled can be found on the mbed github, which does not only have mbed-src, but also the different options for the different targets. And generally changes on the github are very fast implemented on mbed-src, and later in the regular mbed release. Here is the list of targets with their settings: https://github.com/mbedmicro/mbed/blob/master/workspace_tools/targets.py. And this is the pull request which should have enabled the FPU: https://github.com/mbedmicro/mbed/commit/2ae10721a7d4fda4c20b131d64e2c096eaea4a9a

posted by Erik - 24 Apr 2014
9 years, 11 months ago.

The compiler is still using the old flags. We have to wait until the next release ...