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

arm_cortexM4lf_math.lib: No such file

Hello!

I am compiling the fiirmware for Thingy:52 (version 1.0.1), using the following link:.

https://github.com/NordicSemiconductor/Nordic-Thingy52-FW

nordicsemiconductor.github.io/.../firmware_compile.html

Using Keil (myVision 5.28, Windows 10) and compiling for release_v1.0.0 (v1.0.1 is not available), I get this error message:

assembling arm_startup_nrf52.s...
compiling system_nrf52.c...
linking...
.\_release_v1_0_0\app_thingy_s132.axf: error: L6002U: Could not open file ..\..\..\..\..\..\..\..\..\..\AppData\Local\Arm\Packs\ARM\CMSIS\5.4.0\CMSIS\Lib\ARM\arm_cortexM4lf_math.lib: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
".\_release_v1_0_0\app_thingy_s132.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:01:38

even though that lib-file is present in that folder. Any idea on what might cause this? Perhaps some pointer errors?

Regards,

Tobias Samuelsson

Parents Reply Children
  • Hello! Thank you for your help. I found out, moving the project folder to a shorter path fixed the problem. However, Keil now generated an error that the code size was too large. (125 484 bytes) Turns out, the version I downloaded of Keil myVision is the MDK-lite version which only supports 32 768 bytes. I will try compiling with GCC and return if I get any other errors.

Related