Reputation: 9124
Free PIC C compiler
PIC16 C compiler
...aaaaand noone mentions gcc*. Googling lead me only to flame wars over the forums if PICs are suitable for C, and that their (at least the 6 - series) 30 instruction assemblers are very simple to learn.
Does gcc support PIC16?
* - or clang
or any other popular open free compiler...if there are any others...
Upvotes: 10
Views: 10528
Reputation: 3792
I don't believe it's supported and none of the PIC families are mentioned on the Status of Supported Architectures page. Note that there is some support for the PIC32 series because that's based on a MIPS M4K core. A few zero-cost options that come to mind are:
Microchip have a free version of MPLAB XC8 available. You'll see at the bottom of that page that the difference between the free and the paid versions is the optimization level. I've used the free version and the code generated still seems pretty decent.
For open source there is the SDCC - Small Device C Compiler. That supports the PIC16 series and while I've never used personally it seems to be widely recommended.
Upvotes: 12