AnsweredAssumed Answered

MCUXpresso - How to link ARM RTOS2 library?

Question asked by Bruce Graham on Dec 27, 2018
Latest reply on Jan 2, 2019 by Bruce Graham

I would like to use a RTX library provided by Keil with my MCUXpresso project.

I copied the GCC library file:

C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.4.0\CMSIS\RTOS2\RTX\Library\GCC\libRTX_CM0.a

into my project directory:

E:/Workspace/src/libRTX_CM0.a

 

In MCUXpresso, I added the libRTX_CM0.a library to the project,

* Properties | C/C++ general | Paths and Symbols | Libraries

* added the library

 

I get a link error that indicates that the file does not exist.

e:/nxp/mcuxpressoide_10.2.1_795/ide/tools/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lE:/Workspace/src/libRTX_CM0.a

 

File exists, so what is wrong?

 

Thanks,

Bruce

Outcomes