New to this family of micro's

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

New to this family of micro's

Jump to solution
1,631 Views
hawk
Contributor II

I mostly work with PIC, some 8051's and now I have moved for my boss to this micro. I know this may be a stupid question, but like I said "I'm new"

 

I am using the free code warrior for now. I attempted to compile our code, cleared most general errors. The compile failed looking for "MC9S08W32.h", "start08.h", and "hidef.h". Compiler can't find them, and neither can I.

 

Are these compiler generated files? This code was compiled, and in use, with an older code warrior program "Metrowerks" ???? Files are not included in source code directory.

 

Thanks in advance to all those who are willing to educate me on this subject.

 

Long live "Freescale" !!!!

 

 

Thanks,  David

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,531 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello David:

What version of CodeWarrior are you using?

Those files are included when you create a new project. But if you are importing a project from an older version then you have to fix the paths to the new locations.

e.g. if you are using CodeWarrior v6.3, you will find the required files in the next paths:

C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\lib\hc08c\include

C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\lib\hc08c\device\include

Hope this helps!

Jorge Gonzalez

View solution in original post

0 Kudos
Reply
3 Replies
1,531 Views
hawk
Contributor II

I am still looking:  Seems to be related to

'C:\Metrowerks\lib\HC08c\INCLUDE\hidef.h'

; file :'C:\Metrowerks\lib\HC08c\INCLUDE\stddef.h' 
; file :'C:\Metrowerks\lib\HC08c\INCLUDE\stdtypes.h' 
; file :'C:\Metrowerks\lib\HC08c\INCLUDE\start08.h' 
; file :'C:\Metrowerks\lib\HC08c\INCLUDE\hidef.h' 

David

0 Kudos
Reply
1,532 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello David:

What version of CodeWarrior are you using?

Those files are included when you create a new project. But if you are importing a project from an older version then you have to fix the paths to the new locations.

e.g. if you are using CodeWarrior v6.3, you will find the required files in the next paths:

C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\lib\hc08c\include

C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\lib\hc08c\device\include

Hope this helps!

Jorge Gonzalez

0 Kudos
Reply
1,531 Views
hawk
Contributor II

Thanks for the help. I am using CW 10.1 right now. I found that CW makes all the files I listed above. So I am good with those errors now.

I have some syntxt errors now, only one so I am getting close to compileing it.

0 Kudos
Reply