floating point type

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

floating point type

695件の閲覧回数
carls272
Contributor I

Hi

I'm working with FRDM K64F, I need to use trigonometric functions but i don't know how I can enable the floating point unit for usetrigonometric functions.

Thanks.

0 件の賞賛
2 返答(返信)

595件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Carlos:

Just add one information here:

From hardware perspective, floating point setting is in devices/mk64f12/MK64F12.h

#define __FPU_PRESENT                  1         /**< Defines if an FPU is present or not */

From IDE perspective, there is a Floating point configuration setting in MCUXpresso Project properties.

pastedImage_1.png

Regards

Daniel

0 件の賞賛

595件の閲覧回数
BlackNight
NXP Employee
NXP Employee

If you are using one of the MCUXpresso SDK projects for any M4F (e.g. K64F), then the FPU is already enabled.

0 件の賞賛