floating point type

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

floating point type

694 次查看
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 回复数

594 次查看
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 项奖励

594 次查看
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 项奖励