floating point type

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

floating point type

661 Views
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 Kudos
2 Replies

561 Views
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 Kudos

561 Views
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 Kudos