Skip to main content
Visitor II
July 18, 2025
Solved

Stm32f407 FPU with threadX

  • July 18, 2025
  • 2 replies
  • 330 views

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.
Best answer by mƎALLEm

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

2 replies

ST Technical Moderator
July 18, 2025

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
July 18, 2025

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.