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

Question relating to:

An eCompass library only for use on FPU enabled platforms like the K64F compass, eCompass, magnetometer, sensor
Be the first to answer this question.