Anyone have a sample iar pic project that generates a hex capable of programming a pic with config bits?
In mplab-mcc18, setting up the config bits and i/o's is pretty straightforward,
#pragma config OSC = INTIO67 , FCMEN = ON , etc...
DDRA = 0xFF; // Port A - all inputs
LATCbits.RC3 = 0; // Port C bit 3 - output
but I downloaded the iar pic18 eval, and it has tutorials for fibonacci, but it doesn't have any sample project on working with the pic! (i.e. include file(s) needed for a particular pic, setting config bits, i/o setup, etc).
Even though it doesn't support many of the new pics, I'm looking to see how developing code with iar compares to mcc18/ccs. If anyone has a sample project, that even toggles an led, that would be great!