create shared library for appliction project

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

create shared library for appliction project

657 次查看
semiconductor_user
Contributor III

hello NXP team,

  i create appliction project(ex. project name = sh_lib)  where i used UART and Timer drivers, now i want to generate shared library of this same project. and add in another appliction project(ex. project name = nxp_main) which is my main project 

can you give me solution?

标记 (1)
0 项奖励
回复
3 回复数

635 次查看
semiconductor_user
Contributor III

but this is for whole project i means if i right click on project and do this steps its create .a(library file) file for whole project but i want .a file only for particular(individual) .c file 

0 项奖励
回复

615 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

In that case create a new library project:

File -> New -> S32DS Library Project

 

And copy your functions into it.

 

Regards,

Daniel

 

 
 

 

 

 

0 项奖励
回复

640 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @semiconductor_user,

In the properties, the project can be changed from Executable to Library:

danielmartynek_0-1738075570825.png

 

Regards,

Daniel

 

0 项奖励
回复