Select your programmer (assuming it's MPLAB compatible) and compile. Add the necessary files to the project to suit your compiler (BoostC wants the appropriate lib file added) and also add the source file (put both the source and any associated header files in the project dir first).
Make a new project for your chip and select the compiler you just installed as the toolsuite. Then start MPLAB and run the Project Wizard. If it's a small program it's not a big deal, but if it's large it can be quite a chore.Īnyway, to program a chip you install the compiler, being sure that it gets integrated into MPLAB properly. It's still C, but there are compiler-specific syntax differences (include file equates, etc.).
They all have their own ways of doing things. Click to expand.Who wrote your source code? What compiler did they write it for? You may be better off to get that compiler to save you having to port the source code to suit a different compiler's syntax.