I am developing ICM42605.
If I compile the original source code using Atmel Studio, it compiles normally without errors. There is no error in libInvnAlgoAGM.a.
However, the MCU is nRF52840 and when compiling using Keil uvision, the following error appears in the library libInvnAlgoAGM.a.
compiling system-interface.c...
compiling example-algo.c...
assembling libInvnAlgoAGM.a...
..\..\..\icm42605\libInvnAlgoAGM.a(1): error: A1167E: Invalid line start
..\..\..\icm42605\libInvnAlgoAGM.a(2): error: A1167E: Invalid line start
..\..\..\icm42605\libInvnAlgoAGM.a(3): error: A1167E: Invalid line start
..\..\..\icm42605\libInvnAlgoAGM.a(4): warning: A1313W: Missing END directive at end of file
compiling main_algo.c...
assembling arm_startup_nrf52805.s...
compiling system_nrf52.c...
".\_build\nrf52805_xxaa.axf" - 3 Error(s), 1 Warning(s).*** Performing Cross-Module-Optimization:
*** Feedback file '.\_build\nrf52805_xxaa.fed' not found.
Target not created.
Build Time Elapsed: 00:01:29
How to fix it? please.