How to create a project including two targets in CodeWarrior

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

How to create a project including two targets in CodeWarrior

Jump to solution
2,298 Views
baonguyen
Contributor I
Dear everybody,

I want to creat a project including two targets in Metrowerk's CodeWarrior. How to do that? How to associate the code corresponding with each target ?

Thanks in advance,
Best regards
Labels (1)
Tags (1)
0 Kudos
1 Solution
689 Views
CrasyCat
Specialist III

Hello

You mean you want to use dependent Build Targets within a single project with CodeWarrior HC08 V5.0. Right?

  This is done as follows:
     - Open or Create your main project.
     - To create a new build Target:
       + Switch to the "Target" tab in the .mcp window and click within the .mcp window (To make sure it gets the focus)
       + Select "Project" -> "Create Target". the "New Target" dialog pops up
       + Specify a target Name (For example "Slave")
       + Check the "Clone Existing Target" radio button and select your main (or current build target). This will duplicate the target settings from the original target to the new one.
       + The attached technical note provide hints on how to create a new build target and how to set it up. 

I hope this helps.

CrasyCat

View solution in original post

0 Kudos
3 Replies
689 Views
CrasyCat
Specialist III

Hello

First which processor are you targeting (HC08, HC12, Coldfire, ....)

What do you mean exactly with "I want to create a project including two targets"? Do you mean  you want to create a project, which runs on a HC08GP32 and on HC08EY4?

Or what are you trying to accomplish?

CrasyCat

689 Views
baonguyen
Contributor I
Hi CrasyCat,

I want to create a project like motorola sample project including two targets LIN08GZ master and LIN08GZ slave. I had this sample project when I installed LIN Kit software. I download LIN Kit software from
Free 68HC908GZ60 LIN Kit software download.

https://www.freescale.com/webapp/sps/download/
license.jsp?colCode=68HC908GZ60LINKIT&nodeId=02
WcbfNZnLnRys39824792&appType=file1&location=overview&DOWNLOAD_ID=null

Best regards
0 Kudos
690 Views
CrasyCat
Specialist III

Hello

You mean you want to use dependent Build Targets within a single project with CodeWarrior HC08 V5.0. Right?

  This is done as follows:
     - Open or Create your main project.
     - To create a new build Target:
       + Switch to the "Target" tab in the .mcp window and click within the .mcp window (To make sure it gets the focus)
       + Select "Project" -> "Create Target". the "New Target" dialog pops up
       + Specify a target Name (For example "Slave")
       + Check the "Clone Existing Target" radio button and select your main (or current build target). This will duplicate the target settings from the original target to the new one.
       + The attached technical note provide hints on how to create a new build target and how to set it up. 

I hope this helps.

CrasyCat

0 Kudos