View Single Post
  #10   Spotlight this post!  
Unread 26-03-2006, 22:13
JonathanLKS JonathanLKS is offline
Code::Blocks
FRC #0610 (The Coyotes)
Team Role: Leadership
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Toronto
Posts: 36
JonathanLKS will become famous soon enough
Send a message via MSN to JonathanLKS
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
Attached Files
File Type: zip mcc18.zip (2.9 KB, 58 views)

Last edited by JonathanLKS : 26-03-2006 at 22:17.