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"