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.