Goodmorning, i need to enable the FPU on S32K144.
How can i do that?
I need to compute such function with logaritmics operation using float variables.After activation must i use some special function to use FPU or is it automatic?
The FPU activation is done automatically based on the toolchain settings.
For S32 Design Studio:
Right click on the project and select Properties. The following window will appear:
In this window:
1) Go to C/C++ build (1)
2) Select Settings (2)
3) From there select Target Processor (3)
4) Configure Float ABI and FPU Type to FP instructions(hard) and fpv4-sp-d16 (4).
Click on ok and then rebuild the project.
If you need the procedure for FPU activation for different toolchains or IDE please let me know.
Retrieving data ...