mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Added BOARD_BALANDUINO macro
This commit is contained in:
parent
4e7ad8eed8
commit
b3a2c3a632
2 changed files with 2 additions and 1 deletions
2
Usb.h
2
Usb.h
|
@ -57,7 +57,7 @@ typedef MAX3421e<P6, P3> MAX3421E; // Black Widow
|
||||||
typedef MAX3421e<P9, P8> MAX3421E; // Teensy++ 2.0 & 1.0
|
typedef MAX3421e<P9, P8> MAX3421E; // Teensy++ 2.0 & 1.0
|
||||||
#elif defined(BOARD_MEGA_ADK)
|
#elif defined(BOARD_MEGA_ADK)
|
||||||
typedef MAX3421e<P53, P54> MAX3421E; // Arduino Mega ADK
|
typedef MAX3421e<P53, P54> MAX3421E; // Arduino Mega ADK
|
||||||
#elif !defined(BOARD_SANGUINO) && (defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__))
|
#elif defined(BOARD_BALANDUINO)
|
||||||
typedef MAX3421e<P20, P19> MAX3421E; // Balanduino
|
typedef MAX3421e<P20, P19> MAX3421E; // Balanduino
|
||||||
#else
|
#else
|
||||||
typedef MAX3421e<P10, P9> MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo etc.)
|
typedef MAX3421e<P10, P9> MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo etc.)
|
||||||
|
|
|
@ -630,6 +630,7 @@ template<typename Tp_pin, typename Tc_bit>
|
||||||
#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__))
|
||||||
|
#define BOARD_BALANDUINO
|
||||||
// Balanduino pin numbers
|
// Balanduino pin numbers
|
||||||
// http://balanduino.net/
|
// http://balanduino.net/
|
||||||
#define P0 Pd0 /* 0 - PD0 */
|
#define P0 Pd0 /* 0 - PD0 */
|
||||||
|
|
Loading…
Reference in a new issue