6 years ago.

STM32F411RE Compiler flags -- FPU not set

Hello,

It appears that the STM32F411RE Target in the online compiler is missing the FPU flag. When I try to add the mbed-rtos, I get the same errors as in question: https://mbed.org/questions/3199/Compiler-error-for-Nucleo-F401RE-target/ (please note, these errors will only visible after adding the definitions listed in my pull request here: https://github.com/mbedmicro/mbed/pull/392).

Best,

Christopher Chen

Question relating to:

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

1 Answer

6 years ago.

The issue of setting the FPU as active on the ST boards has been around for months. What is the best way to request that change?

The issues with setting FPU on ST boards has been fixed months ago though, sometimes it comes up again due to people using outdated mbed lib versions.

Anyway I think the problem is a single definition. In the mbed github, workspace tools, there is a targets.py file. The F411RE is there listed as a core M4, instead of a core M4F

posted by Erik - 29 Jul 2014

Thanks for the pointing that out, I put in a pull request for it on github

posted by Christopher Chen 29 Jul 2014

@Christopher Chen, your update was just reverted here: https://github.com/mbedmicro/mbed/commit/ffbabdbea95e0b5262bda6bed96e2f568738e999

I wonder when this will be working officially?

posted by Robbie King 31 Jul 2014