AnsweredAssumed Answered

How do you organize your KSDK libraries?

Question asked by Raj Batra on Dec 21, 2015
Latest reply on Dec 24, 2015 by xiangjun.rong

I'm curious how people organize and link to the KSDK libraries?


For embedded, I'm accustomed to building third party libraries separately then placing the headers and the .a files into my project in a third party folder and linking during build time. That way my project can be checked out of my code repository and built standalone with everything needed to create the binary file.


I see some of this intention when building some of the libraries in KSDK. For example, the rtcs suite nicely puts the header files and the associated .a file in the lib folder. But other libraries seem fairly entangled. For example the USB libraries for CDC, sprawl many folders for includes: usb_core/include, usb_core/device/include/frdmk64f, usb_core/device/sources/classes/include, usb_core/device/include.


Right now, I just import all the libraries I'd like to use (mqx, mqx_stdlib, usbd, rtcs, ksdk_platform, etc.) into my KDE workspace and point my project to those folders for the build.

Do others have a cleaner solution?