Hi
Apparently you have a bunch of long arithmetic operation in your application.
So there is no way you are going to be able to avoid linking RTSHC08.c to your application.
Now you need to tell the debugger where to find the source file.
I assume you are using HI-WAVE for debugging. Am I right?
Then you need to add the path to the library source file to the paths the debugger will look for source file.
- Start HI-WAVE
- Select File -> Configuration
- In the Environment Tab, select general Path
- Add {Compiler}lib\hc08c\src to the General Path
- Click OK to save the configuration.
The debugger should be able to display source code from rtshc08.c now.
Note that if you create your project using the wizard, the debugger will automatically be configured properly
.
CrasyCat