FPU Type options for MCUXpresso for double-precision floating point

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

FPU Type options for MCUXpresso for double-precision floating point

1,244件の閲覧回数
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 件の賞賛
2 返答(返信)

1,215件の閲覧回数
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 件の賞賛

1,235件の閲覧回数
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 件の賞賛