Enabling FPU on S32K144

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enabling FPU on S32K144

2,130 Views
pietroserao
Contributor II

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?

 

Thanks.

Labels (1)
1 Reply

1,458 Views
raresvasile
NXP Employee
NXP Employee

Hi,

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:

pastedImage_2.png

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.

Best regards,

Rares