How to creating and using own Libraries with "CW for MPC55xx, MPC56xx 2.10" ?

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

How to creating and using own Libraries with "CW for MPC55xx, MPC56xx 2.10" ?

跳至解决方案
1,169 次查看
wwx
Contributor I

Requirements :

Some on-board peripheral drivers in the current project need to be made in the form of (static) libraries for use by other developers.

 

The hardware platform used for project development: MPC5634M
Project development using the IDE: CW for MPC55xx, MPC56xx 2.10

 

After a few days of research, and did not find static library related options in CW for MPC55xx, MPC56xx 2.10   so I suspecte that the version is too low, then went to install CW for MCU v10.6.4, and found There is a function of making a static library, but then there is a problem that  the static library created by CW for MCU v10.6.4 , but in the CW for MPC55xx, MPC56xx 2.10 can not link it successfully.

for example:

Link Error : Linker
command file output section '.text' has a type or input which is incompatible with
section '.text' in file 'D:\Codewarrier\workspace\multiValue\Debug\Lib\mylibrary_c.obj'.
Change the type or add an input for this section.
Link failed.

 

The following questions are available:
1.CW for MPC55xx, MPC56xx 2.10 have the function of making static library? If so, where is it set up?
2.CW for MCU v10.6.4 create the library in the CW for MPC55xx, MPC56xx 2.10 that link error, how to solve.
3. What is the best solution for this requirement?

0 项奖励
回复
1 解答
1,050 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

could you please STOP to create duplicated threads? The same question is in threads:

How to creating and using own Libraries with "CW for MPC55xx, MPC56xx 2.10" ? 

https://community.nxp.com/thread/453750 

Regards,

Martin

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,051 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

could you please STOP to create duplicated threads? The same question is in threads:

How to creating and using own Libraries with "CW for MPC55xx, MPC56xx 2.10" ? 

https://community.nxp.com/thread/453750 

Regards,

Martin

0 项奖励
回复
1,050 次查看
wwx
Contributor I

Thank you very much.

I am sorry about it which I can not find the stop option about the question.

0 项奖励
回复