Yes multiplier was there...
#define SYS_FREQ (200000000L)
#define FOSC (200000000L) //80MHz
// Device Config Bits in DEVCFG1:
... as above
// Device Config Bits in DEVCFG2:
.. as above
#pragma config FPLLMULT = MUL_50
//#pragma config UPLLEN = OFF => creates error.
#pragma config UPLLFSEL = FREQ_24MHZ
#define GetSystemClock() (FOSC)
I dont use harmony. I was too confused with its setup, and abandoned. Maybe need a better tutorial?
I use the chipkit Wifire board. It starts with Arduino compiler ok.
post edited by sjpapa - 2017/10/09 07:36:51