how to generate a lib

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

how to generate a lib

661 次查看
jackwan
Contributor II

Dear sir, 

             I am using the codewarrior to develop on MPC5566. I want to generate a static link library for BSP and drivers.Do you know how to generate it by codewarrior? And how to link the static link library when develop the application by codewarrior? Many thanks!

BR,

2 回复数

525 次查看
martin_kovar
NXP Employee
NXP Employee

Hello Jack,

about static library creating, open project settings, click EPPC Target, and change Project Type to Library.

pastedImage_1.png

About linking, create you own library as I described above and simply drag and drop this library into Runtime folder of the project you would like to link the library to. Now you can call functions from the library.

pastedImage_2.png

Hope this helps.

Regards,

Martin

525 次查看
jackwan
Contributor II

Hi Martin, Got it. Many thanks for your help!

万宁

邮箱:jack_wan_2016@163.com

|

签名由 网易邮箱大师 定制

0 项奖励