|
Re: Using MCC18 in a custom program
If anyone wants to try and use MCC18 with Code::Blocks Studio, here's the registry keys and project templates to use MCC18 with Code::Blocks.
It should work if MCC18 is installed at C:\mcc18, if not you'll have to edit the registry keys.
Move all but the registry key to wherever you installed codeblocks\share\CodeBlocks\templates
If anyone needs any information on the way to call mcc18 from the command line it's
For all .C Files
mcc18.exe FILENAME.C -fo=FILENAME.O /i "C:\mcc18\h" -p=18F8722 -D_FRC_BOARD
Then Once
mplink.exe /l "C:\mcc18\lib" ALL_.O_FILES "PATH_WHERE_ITS_LOCATED\18f8722.lkr" "PATH_WHERE_ITS_LOCATED\FRC_library_8722.lib" /m "PATH_WHERE_ITS_LOCATED\FrcCode.map" /o "PATH\FrcCode.cof"
P.S. The Error's are not displayed in the Build Messages but they are in the Build Log
Last edited by JonathanLKS : 26-03-2006 at 22:17.
|