Issue linking precompiled lib | Cypress Semiconductor
Issue linking precompiled lib
I am new to Cypress and have been playing around with Cypress PRoC BLE. Currently, I'm trying to port the Invensense Motion Driver into my Cypress chip, and have enjoyed some success until I tried to link the provided precompiled library. Invensense provided their developers with a "GNU non-eabi-arm 4.7.2 compiled" sensor fusion engine, which is an .a file and supposingly compatible with all M0, M3 and M4's.
So far, I have tried methods provided in other threads like adding "m" to additional libraries field in the linker setting and including the lib file directory within the additional include directories field. All without much success, during build, I will get the following error "Build error: undefined reference to 'XXX' ".
Pardon my limited knowledge, would my problem has anything to do with my ARM GCC version? If the lib was compiled with v4.7.2, I can't link it with v4.8.4?
Hope someone could point me in the right direction. Thank you very much!