Skip to content

Commit

Permalink
Allow the ATmega1284P on Gen7's.
Browse files Browse the repository at this point in the history
  • Loading branch information
Traumflug committed May 13, 2012
1 parent 99dec31 commit e8518f9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions config.gen7-v1.1-v1.3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 6 additions & 3 deletions config.gen7-v1.4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e8518f9

Please sign in to comment.