Allow the ATmega1284P on Gen7's.

This commit is contained in:
Markus Hitter 2012-05-11 02:05:42 +02:00
parent 99dec3189a
commit e8518f9e34
2 changed files with 12 additions and 6 deletions

View File

@ -30,9 +30,12 @@
If you want to port this to a new chip, start off with arduino.h and see how you go.
*/
#ifndef __AVR_ATmega644P__
#ifndef __AVR_ATmega644__
#error GEN7 has a 644 or a 644P! set your cpu type in Makefile!
#ifndef __AVR_ATmega644__
#ifndef __AVR_ATmega644P__
#ifndef __AVR_ATmega1284P__
#error GEN7 has an ATmega 644, 644P or 1284P. Set your CPU type in the \
Makefile or select your board in the Arduino IDE!
#endif
#endif
#endif

View File

@ -30,9 +30,12 @@
If you want to port this to a new chip, start off with arduino.h and see how you go.
*/
#ifndef __AVR_ATmega644P__
#ifndef __AVR_ATmega644__
#error GEN7 has a 644 or a 644P! set your cpu type in Makefile!
#ifndef __AVR_ATmega644__
#ifndef __AVR_ATmega644P__
#ifndef __AVR_ATmega1284P__
#error GEN7 has an ATmega 644, 644P or 1284P. Set your CPU type in the \
Makefile or select your board in the Arduino IDE!
#endif
#endif
#endif