Enabling FPU on S32K144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Enabling FPU on S32K144

2,692件の閲覧回数
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.

ラベル(1)
1 返信

2,020件の閲覧回数
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