How to create a project including two targets in CodeWarrior

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

How to create a project including two targets in CodeWarrior

跳至解决方案
3,148 次查看
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
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,539 次查看
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 项奖励
回复
3 回复数
1,539 次查看
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

1,539 次查看
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 项奖励
回复
1,540 次查看
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 项奖励
回复