How to create and use static library in MCUXpresso IDE

Document created by ZhangJennie Employee on Nov 17, 2017Last modified by ZhangJennie Employee on Jan 19, 2018
Version 4Show Document
  • View in full screen mode

For the previous KDS or CodeWarrior users, they may not create and use static library under MCUXpresso IDE without a hitch, because the methods are not exactly same.

MCUXpresso IDE supports adding static library in user project with “Smart Update” wizard. This feature is derived from LPCXpresso IDE.  However, “Smart Update” wizard is only available for natively supported LPC products in MCUXpresso 10.1.0 and lower versions.  It will support all LPC and Kinetis product in MCUXpresso IDE future release.

For MCUXpresso natively supported LPC product, using “Smart Update” to add library is very convenient. User can learn its usage from this article:

Creating and Linking to Library Projectshttps://community.nxp.com/message/630594

 

For Kinetis product, the only way to add library to project is by hand.

This article will take an example with MK64F demo, illustrating how to create and use static library under MCUXpresso IDE step by step.  It will also be good for all LPC and Kinetis users to understand how user project works with external static libraries under MCUXpresso. 

 

If user needs demo code of this article, please send me community internal message.

 

Thanks for the suggestion from LPCX support        

2 people found this helpful

Outcomes