Quote:
|
Originally Posted by kc8nod
Sorry for the slow response, I've been offline last week.
I'm guessing that you are doing something clever with your linker script and that is confusing the codsize script. Are you even using the linker script? I can only imagine what hacks you have had to perpetrate to make mcc18 work under Eclipse.
|
Does your script use the linker script (I'm assuming you mean the 18f8520user.lkr file.) in calculating the usage of code? B/c in eclispe the linker script is a directory level up from the mapfile, but in the same level as your perl script.
This is the command I run in order to run your script:
Code:
perl "..\codesize.pl" "FRCMapfile.map"
Thanks, for your help.
EDIT:
I tried running your script from within the plain old windows command line after copying the mapfile into the same directory as your script and the .lkr file (and run this command: perl codesize.pl FRCMapfile.map), but still get the same output. I'm using ActivePerl 5.87 Build 815 on Windows XP just for your info.