Added support for newest version of the Balanduino board

This commit is contained in:
Kristian Sloth Lauszus 2013-08-31 13:24:52 +02:00
parent a37c056866
commit b3ead81c2c
2 changed files with 3 additions and 3 deletions

View file

@ -663,7 +663,7 @@ public:
#define P45 Pf7 #define P45 Pf7
#endif // Teensy++ 2.0 #endif // Teensy++ 2.0
#if !defined(BOARD_SANGUINO) && (defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__)) #if !defined(BOARD_SANGUINO) && (defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
#define BOARD_BALANDUINO #define BOARD_BALANDUINO
// Balanduino pin numbers // Balanduino pin numbers
// http://balanduino.net/ // http://balanduino.net/
@ -701,7 +701,7 @@ public:
#define P31 Pa7 /* 31 - PA7 */ #define P31 Pa7 /* 31 - PA7 */
#endif // Balanduino #endif // Balanduino
#if defined(BOARD_SANGUINO) && (defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__)) #if defined(BOARD_SANGUINO) && (defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
// Sanguino pin numbers // Sanguino pin numbers
// http://sanguino.cc/hardware // http://sanguino.cc/hardware
#define P0 Pb0 #define P0 Pb0

View file

@ -55,7 +55,7 @@ typedef SPi< Pb1, Pb2, Pb3, Pb0 > spi;
#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__)
typedef SPi< Pb5, Pb3, Pb4, Pb2 > spi; typedef SPi< Pb5, Pb3, Pb4, Pb2 > spi;
#endif #endif
#if defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__) #if defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)
typedef SPi< Pb7, Pb5, Pb6, Pb4 > spi; typedef SPi< Pb7, Pb5, Pb6, Pb4 > spi;
#endif #endif