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
解決済! 解決策の投稿を見る。
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
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
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
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.