Error While integrating AMMCLib with existing Project

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

Error While integrating AMMCLib with existing Project

Jump to solution
569 Views
krithick14
Contributor I

I am trying to integrate AMMCLib with my existing project and call its functions.Facing the below issue in linking the objects. please help.

Refer images attached for more info

Description Resource Path Location Type error: CPAPSW.elf uses VFP register arguments, C:/Krithick/Mando/CPAP_sw (3)/CPAP_sw/CPAPSW/include\libCLIB.a(uds.o) does not CPAPSW C/C++ Problem failed to merge target specific data of file C:/Krithick/Mando/CPAP_sw (3)/CPAP_sw/CPAPSW/include\libCLIB.a(uds.o) CPAPSW C/C++ Problem

 

#AAMCLIB

#S32K

0 Kudos
1 Solution
483 Views
petrz_
NXP Employee
NXP Employee

Hi,

your project is configured to use FP instructions (hard) whereas your library libCLIB.a was compiled with software FP emulation. This means that your library uses general-purpose registers for passing float arguments in function calls and your project puts float arguments into VFP registers. You will need to recompile your library with the same FP settings as your project.

View solution in original post

0 Kudos
2 Replies
445 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

the libCLIB.a needs to be re-build with hardware float point support. 

0 Kudos
484 Views
petrz_
NXP Employee
NXP Employee

Hi,

your project is configured to use FP instructions (hard) whereas your library libCLIB.a was compiled with software FP emulation. This means that your library uses general-purpose registers for passing float arguments in function calls and your project puts float arguments into VFP registers. You will need to recompile your library with the same FP settings as your project.

0 Kudos