Also, rename the libraries for the 8722 PIC to FRC_Library_8722.lib, and the library for the 8520 to FRC_Library_8520.lib. After you’ve put the makefile in there, create two new folders: “obj.8722” and “obj.8520”.
It automatically switches out all libraries and build options. However, I have customized it for use with Code::Blocks to take advantage of a really cool feature: Using the drop-down box in the IDE, you can change code between the 18F8722 and 18F8520 processor.
#Name of codeblocks compiler full
I’m not sure of the author, but I cannot take full credit for it. My setup uses a custom makefile based on one I’ve had from long ago, originally written for Eclipse.
It’s available for any operating system wxWidgets supports, although you’re still tied to windows for the MPLAB C18 Compiler. After many searches and problems, I’ve managed to create a very nice interface for programming it.Ĭode::Blocks is a lightweight, opensource editor written in C++ with the wxWidgets toolkit. After having a lot of problems with the interface in MPLAB, I decided to find a way to use my choice IDE of Code::Blocks to program the RC.