This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

linking floating point library from GCC into Keil (nRF52)

I'm using nRF52+SDK11.0.0+S132. I have a library compiled with GCC using flags -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 that I'm trying to link to an application being developed with Keil/uVision. I have the "Use Single Precision" option checked in uVision. I'm getting errors such as "Error: L6242E: Cannot link object file.o as its attributes are incompatible with the image attributes." Please advise on how to resolve this.

Related