how to generate a lib

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to generate a lib

636 Views
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 Replies

500 Views
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

500 Views
jackwan
Contributor II

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

万宁

邮箱:jack_wan_2016@163.com

|

签名由 网易邮箱大师 定制

0 Kudos