Skip to main content
Visitor II
Jul 18, 2025 8:18 AM UTC
Solved

Stm32f407 FPU with threadX

Hello everyone,
I'm using AZURERTOS on my STM32F407 microcontroller. My goal is to use the FPU to perform some mathematical operations (FFT, etc.).

Could you help me figure out how to activate the FPU and how to tell when it's active, taking into account the RTOS I'm using?
- I am using STM32CUBEIDE

 

Thank You!

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Jul 18, 2025 10:58 AM UTC

Hello,

In your project settings in CubeIDE, go to Floating-point ABI:

mALLEm_0-1752836132578.png

"Hardware implementation .." needs to be selected.

Normally the RTOS is taking into account the FPU registers handling.

Hope that helps

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

2 replies

ST Technical Moderator
Jul 18, 2025 9:01 AM UTC

Hello @MetehanUzun 

Please refer to the application note "Floating point unit demonstration on STM32 microcontrollers"

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Jul 18, 2025 10:58 AM UTC

Hello,

In your project settings in CubeIDE, go to Floating-point ABI:

mALLEm_0-1752836132578.png

"Hardware implementation .." needs to be selected.

Normally the RTOS is taking into account the FPU registers handling.

Hope that helps

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.