Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 10 months ago.
Usage of eCompass_FPU_Lib with GCC ARM toolchain
Hi,
I'm currently using a K64F evaluation board. My question is: can I use the eCompass_FPU_Lib archive (.ar) with a ARM GCC toolchain ? Want I try to link my application with this library I have the following errors :
target/Default/dependencies\libeCompass_FPU.a(magnetic.o): In function `fUpdateMagnetometerBuffer': (.text+0x184): undefined reference to `hardfp_fabs' target/Default/dependencies\libeCompass_FPU.a(magnetic.o): In function `fUpdateMagnetometerBuffer': (.text+0x1b2): undefined reference to `hardfp_atan2' target/Default/dependencies\libeCompass_FPU.a(magnetic.o): In function `fUpdateMagnetometerBuffer': (.text+0x244): undefined reference to `hardfp_fabs'
etc...
Best regards, Yves Teissier