use makefile instead of cmdide.exe for project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

use makefile instead of cmdide.exe for project

ソリューションへジャンプ
3,806件の閲覧回数
yyLeung
Contributor I
Hello,
If anyone can give an example of a makefile that can build a s19 file with Metrowerks CodeWarrior IDE version 5.6.1
 
The CPU we use is MC9S08GB32.
 
Thanks a lot.
yyLeung
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,262件の閲覧回数
CrasyCat
Specialist III
Oups Just noticed that the sample project is not delivered with V5.1 .
(Thanks CompilerGuru for notifying me) :smileywink:
 
Find attached a zip file containing that sample project.
 
CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
1,262件の閲覧回数
CrasyCat
Specialist III
Hello
 
If you are running CodeWarrior for HC08 V5.1, look at the example located in
{Install}\(CodeWarrior_Examples)\MakeFileSample.
 
This is a example of a project build with a make file. The make file there is pretty generic and the document TN250 - Automake_HC08.pdf in the same directory provides you guidance to adjust the make file to your own project.
 
I hope this helps.
 
CrasyCat
0 件の賞賛
返信
1,263件の閲覧回数
CrasyCat
Specialist III
Oups Just noticed that the sample project is not delivered with V5.1 .
(Thanks CompilerGuru for notifying me) :smileywink:
 
Find attached a zip file containing that sample project.
 
CrasyCat
0 件の賞賛
返信
1,262件の閲覧回数
Nge
Contributor I

Hello,

 

I have been trying to make the example work with CW6.3  with no luck... is there an updated version?

 

Thanks

0 件の賞賛
返信
1,262件の閲覧回数
CrasyCat
Specialist III

Hello

 

Which kind of message do you get?

I am able to build the delivered sample project with V6.2.

 

Just make sure to adjust the INSTALLPATH environment variable in build.bat

 

CrasyCat

0 件の賞賛
返信
1,262件の閲覧回数
Nge
Contributor I

 

Hi Cat,
Thanks for answering. I did adjust the INSTALLPATH environment variable in build.bat. 
The message I have been receiving is the following:
"Top: D:\MakeFileSample\default.mak
Reading make file 'D:\MakeFileSample\DEFAULT.MAK'
DEFAULT.MAK(186): WARNING M5012: Include file not found: MyProject.dep
D:\MakeFileSample\default.mak: INFORMATION M5027: Making target main.o
D:\MakeFileSample\default.mak: ERROR M5118: Could not create process: open file error
Maker: *** 1 error(s), 1 warning(s), 1 information message(s) ***
*** command line: '-ENV"GENPATH=.\Sources;C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\lib\hc08c\src;C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\lib\hc08c\lib" 
-ENV"OBJPATH=.\bin" -ENV"ABSPATH=.\bin" -ENV"TEXTPATH=.\bin" default.mak' ***
Maker: *** Error occurred while processing! ***"
Do you have any idea what could be the problem?
Thanks a lot

 

0 件の賞賛
返信
1,262件の閲覧回数
CrasyCat
Specialist III

Hello

 

Can you try to re-install codeWarrior in a directory without spaces in the full path name?

 

For instance install in C:\Freescale\CodeWarrior_Microcontrollers_V6.3

 

Otherwise you need to enclose all paths in double quotes.

 

CrasyCat

0 件の賞賛
返信
1,262件の閲覧回数
yyLeung
Contributor I
Thanks cat. I tried and success.
Thanks a lot.
0 件の賞賛
返信