Skip to main content
Visitor II
July 18, 2025
Solved

Stm32f407 FPU with threadX

  • July 18, 2025
  • 2 replies
  • 294 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

    Technical Moderator
    July 18, 2025

    Hello @MetehanUzun 

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

    mƎALLEmAnswer
    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