Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
[Urgent]How to add static library (like lib.a) to mbed compiler ???
I have a project. My customer required it has to be close source. So i converted it to static library. I have already imported that lib.a into project but mbed compiler doesn't understand that lib. Is there any way to import that static library to make compiler understand ?? Thank you
2 Answers
9 years, 8 months ago.
I think that the easiest way to do this would be to export the mbed project to an offline toolchain, such as GCC ARM Embedded, for which you can add to the Makefile in order to link the static library, since I'm not aware of any way a static library can be uploaded to the mbed online compiler.
Hope it helps!
Matthew