chipKIT32/chipKIT32-MAX — Issue #197: Arduino ISP sketch compile error
Author: ricklon
Created: 2012-01-23 03:18:46+00:00
State: open
Labels: sketch

Arduino ISP sketch compile error

ArduinoISP.cpp: In function 'void spi_init()':
ArduinoISP.cpp:164:3: error: 'SPCR' was not declared in this scope
ArduinoISP.cpp:165:5: error: 'SPSR' was not declared in this scope
ArduinoISP.cpp:166:5: error: 'SPDR' was not declared in this scope
ArduinoISP.cpp: In function 'void spi_wait()':
ArduinoISP.cpp:172:12: error: 'SPSR' was not declared in this scope
ArduinoISP.cpp:172:25: error: 'SPIF' was not declared in this scope
ArduinoISP.cpp: In function '__uint8_t spi_send(__uint8_t)':
ArduinoISP.cpp:177:3: error: 'SPDR' was not declared in this scope