Friday, May 25th 2018, 3:15am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

mmelamud

Beginner

Date of registration: Jul 15th 2013

Posts: 6

1

Sunday, August 4th 2013, 6:54am

Hardware FPU library cannot be found

Hi ,

I know the following libraries are :

1. libosT7VLDP - compiled as -mfloat-abi = softfp .
2. libosT7LDP.a - compiles as -mfloat-abi = soft .

But i could not find a library that compiled as -mfloat-abi = hard , does it even exists ? can i work with embOS like that ? , because if i try working with the library when i compile my program as -mfloat-abi = hard , i get the vfp linkage error.

Any suggestions ?

Best regards,
Michael

SEGGER - Til

Super Moderator

Date of registration: Nov 14th 2007

Posts: 272

2

Monday, August 5th 2013, 12:04pm

Hello Michael,

the embOS FPU libraries are built with the GCC option -mfloat-abi=softfp.
‘softfp’ allows the generation of code using hardware floating-point instructions, but still uses the soft-float calling conventions.

Please use the same option in your project, you can't use 'hard' with embOS FPU libraries.

Best regards,
Til