How to build a library in CodeWarrior Studio for s12?

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

How to build a library in CodeWarrior Studio for s12?

跳至解决方案
1,002 次查看
zoe1867
Contributor I

Hi guys.

 

I'm using mc9s12xs128 in my prj. , and I don't konw how to use codewarrior to build a library, can somebody give me a guide?

 

many thanks.

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
765 次查看
CrasyCat
Specialist III

Hello

 

In order to build a library:

  - Create your project as usual for the mc9s12xs128 MCU

  - Open the Target settings dialog (Press ALT + F7)

  -  In the Target > Target Settings panel set Linker to Libmaker for HC12.

  - Switch to panel Target > Libmaker for HC12 to indicate the name of the generated library.

 

  You can remove the Startup Code and linker Files from the project as they are not needed for an object library.

 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
1 回复
766 次查看
CrasyCat
Specialist III

Hello

 

In order to build a library:

  - Create your project as usual for the mc9s12xs128 MCU

  - Open the Target settings dialog (Press ALT + F7)

  -  In the Target > Target Settings panel set Linker to Libmaker for HC12.

  - Switch to panel Target > Libmaker for HC12 to indicate the name of the generated library.

 

  You can remove the Startup Code and linker Files from the project as they are not needed for an object library.

 

CrasyCat

0 项奖励
回复