mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
teensy 3.1 support
This commit is contained in:
parent
c1f82e9e47
commit
6e70087f0b
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@
|
||||||
#define XMEM_RELEASE_SPI() (void(0))
|
#define XMEM_RELEASE_SPI() (void(0))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MK20DX128__
|
#if defined(__MK20DX128__) || defined(__MK20DX256__)
|
||||||
#define USING_SPI4TEENSY3 USE_SPI4TEENSY3
|
#define USING_SPI4TEENSY3 USE_SPI4TEENSY3
|
||||||
#else
|
#else
|
||||||
#define USING_SPI4TEENSY3 0
|
#define USING_SPI4TEENSY3 0
|
||||||
|
|
|
@ -67,7 +67,7 @@ typedef SPi< Pb1, Pb2, Pb3, Pb0 > spi;
|
||||||
typedef SPi< Pb5, Pb3, Pb4, Pb2 > spi;
|
typedef SPi< Pb5, Pb3, Pb4, Pb2 > spi;
|
||||||
#elif defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)
|
#elif 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;
|
||||||
#elif defined(__MK20DX128__)
|
#elif defined(__MK20DX128__) || defined(__MK20DX256__)
|
||||||
typedef SPi< P13, P11, P12, P10 > spi;
|
typedef SPi< P13, P11, P12, P10 > spi;
|
||||||
#else
|
#else
|
||||||
#error "No SPI entry in usbhost.h"
|
#error "No SPI entry in usbhost.h"
|
||||||
|
|
Loading…
Reference in a new issue