Thanks, sounds like only issue with the file compass.c. Other questions for thought: Did you somehow set the compiler settings just for that particular (compass.c) file differently? Make sure you did not somehow allow FPU instructions in the compiler settings for compass.c or any build for the RX111, all floats are library calls for RX111. Make sure not selecting V2 core, only V1 core (on RX111) selected (not sure where this is in GCC) And to think about Are you using 64 bit doubles or have they been demoted to 32 bits (Make double 64 bit in GCC selection forces 64 bit doubles or treat doubles as floats in RXC)? What lib did you use (Optimized or newlib, Project built or pre-built)? Remember, 64 bit math operations of any kind (double, long long) are always library calls in the RX family.
↧