cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32f407 FPU with threadX

MetehanUzun
Associate

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!

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Saket_Om
ST Employee

Hello @MetehanUzun 

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om
mƎALLEm
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.