how to use FPU in STM32F407
I am using STM32F407 discovery board which is ARM cortex M-4 based , which comes with FPU.
I need to perform some Floating point number and exponent calculations. for that i need to use to FPU to speed up the process.
I have have written all the peripheral drivers needed for my application myself ( i haven't use the cube HAL layer or cmsis layer code for that )
how can i use the FPU of processor to perform the calculation ? Do i have to write code for that or do i have to add some library ?
i tried to enable the HW based FPU in the setting but when i perform the float / double calculation the code got stuck infinite loop, i think it is happing because the code to perform floating calculations is missing or FPU is not being used?
also can someone tell me if i have to perform software based floating point calculation.
which library i have to add to my code.
software i am using : STM32 Cube IDE
Thank you
kamal chopra
