From 6e70087f0bf6f2407a7990208bfb4c4194d38d4a Mon Sep 17 00:00:00 2001 From: "Andrew J. Kroll" Date: Wed, 11 Dec 2013 14:15:51 -0500 Subject: [PATCH] teensy 3.1 support --- settings.h | 2 +- usbhost.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.h b/settings.h index ea114ed3..d49b7aa5 100644 --- a/settings.h +++ b/settings.h @@ -98,7 +98,7 @@ #define XMEM_RELEASE_SPI() (void(0)) #endif -#ifdef __MK20DX128__ +#if defined(__MK20DX128__) || defined(__MK20DX256__) #define USING_SPI4TEENSY3 USE_SPI4TEENSY3 #else #define USING_SPI4TEENSY3 0 diff --git a/usbhost.h b/usbhost.h index bc65e106..81949431 100644 --- a/usbhost.h +++ b/usbhost.h @@ -67,7 +67,7 @@ typedef SPi< Pb1, Pb2, Pb3, Pb0 > spi; typedef SPi< Pb5, Pb3, Pb4, Pb2 > spi; #elif defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__) typedef SPi< Pb7, Pb5, Pb6, Pb4 > spi; -#elif defined(__MK20DX128__) +#elif defined(__MK20DX128__) || defined(__MK20DX256__) typedef SPi< P13, P11, P12, P10 > spi; #else #error "No SPI entry in usbhost.h"