Static -binary- libraries for LPCXpresso

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Static -binary- libraries for LPCXpresso

911 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by elektronist on Wed Apr 29 01:20:57 MST 2015
How can we create, distribute and use binary only libraries for LPCXpresso, like i2c_display_lib?
http://www.lpcware.com/content/blog/lcd-driver-pcf2119-sample-code

0 项奖励
回复
2 回复数

870 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by elektronist on Wed Apr 29 03:44:07 MST 2015
Thanks for quick response.

A tiny add: Right click on the library in Project Explorer doesn't show Binary Utilities menu entry. Instead right clicks on liblibraryname.a in Debug and Release do.

0 项奖励
回复

870 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Apr 29 01:40:56 MST 2015
In the first place, read:

http://www.lpcware.com/content/faq/lpcxpresso/creating-linking-library-projects

Once you have a working library archive, you may wish to strip the debug information from it before distribution. This can be done in one of the following ways:

[list]
  [*]Right click on the library in Project Explorer and select Binary utilities->Strip debug symbols
  [*]Run the following command from a command prompt (or as a post build step):
[list]
  [*]arm-none-eabi-objcopy -g liblibraryname.a
[/list]
[/list]

Regards,
LPCXpresso Support
0 项奖励
回复