FPU Type options for MCUXpresso for double-precision floating point

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

FPU Type options for MCUXpresso for double-precision floating point

1,166 Views
Hat
Contributor II

How do I choose a double precision hardware FPU in the MCUXpresso project settings?

The FPU type selectors are confusing and does not seem to match with ARM documentation.

I need hardware double-precision floating point.

Hat_0-1613406140375.png

On Arm's documentation, the option for double precision is given as FPv5-DP-D16-M, and the MCUXpresso does not let me choose that.

Hat_1-1613406341316.png

Thanks

0 Kudos
2 Replies

1,137 Views
nickwallis
Senior Contributor I

Perhaps also check the actual compiler command line being used, I think you need both -mfpu=fpv5-d16 and -mfloat-abi=hard.

-Nick

0 Kudos

1,157 Views
mjbcswitzerland
Specialist V

Hi

mjbcswitzerland_0-1613411904999.png

is correct for i.MX RT parts with double-precision FPU.

For those with only single-precision (i.MX RT 1011) the FPv5-SP16(Hard ABI) can be used instead.

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements

For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key: https://www.utasker.com/iMX/RT1064.html

0 Kudos