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
已解决! 转到解答。
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.
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.