How to build a library in CodeWarrior Studio for s12?

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

How to build a library in CodeWarrior Studio for s12?

Jump to solution
506 Views
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.

Labels (1)
Tags (1)
0 Kudos
1 Solution
269 Views
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

View solution in original post

0 Kudos
1 Reply
270 Views
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 Kudos