I've spent the last 45 minutes hunting the forum and Google on this one. I can find some references to it but nothing clearly saying how to fix it.
I'm using IDE1.01 with the 1284P, optiboot 4.5 bootloader, and maniacbuig cores. I have some 1.0.1 core files for Arduino.h, wiring_analog.h and wiring_private.h, which was suggested as fixing this.
The error I am getting is this:
...\ATMega1284\variants\bobuino/pins_arduino.h:38: error: previous declaration of 'const uint8_t digital_pin_to_timer_PGM [32]' with 'C++' linkage
...\ATMega1284\cores\standard/Arduino.h:134: error: conflicts with new declaration with 'C' linkage
As a result of including SPI.h
Anyone got any ideas?
Many thanks