File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1818#ifdef BOARD_BLACK_WIDDOW
1919typedef MAX3421e<P6, P3> MAX3421E; // Black Widow
2020#elif defined(CORE_TEENSY) && (defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__))
21+ #if EXT_RAM
22+ typedef MAX3421e<P20, P7> MAX3421E; // Teensy++ 2.0 with XMEM2
23+ #else
2124typedef MAX3421e<P9, P8> MAX3421E; // Teensy++ 1.0 and 2.0
25+ #endif
2226#elif defined(BOARD_MEGA_ADK)
2327typedef MAX3421e<P53, P54> MAX3421E; // Arduino Mega ADK
2428#elif defined(ARDUINO_AVR_BALANDUINO)
Original file line number Diff line number Diff line change @@ -681,7 +681,8 @@ class Tp_Tc {
681681#define P8 Pa1 /* 8 - PA1 */
682682#define P9 Pa2 /* 9 - PA2 */
683683#define P10 Pa3 /* 10 - PA3 */
684- #define P11 Pa4 /* 11 - PA4 */
684+ #define P11 Pa4 /* 11 digitalWrite(4, 0);
685+ - PA4 */
685686#define P12 Pa5 /* 12 - PA5 */
686687#define P13 Pc1 /* 13 - PC1 */
687688#define P14 Pc0 /* 14 - PC0 */
Original file line number Diff line number Diff line change 103103#define WIICAMERA
104104#endif
105105
106- #if USE_XMEM_SPI_LOCK | defined(USE_MULTIPLE_APP_API )
106+ #if USE_XMEM_SPI_LOCK || defined(USE_MULTIPLE_APP_API )
107107#include <xmem.h>
108108#else
109109#define XMEM_ACQUIRE_SPI () (void(0))
110110#define XMEM_RELEASE_SPI () (void(0))
111111#endif
112112
113+ #if !defined(EXT_RAM ) && defined(EXT_RAM_STACK ) || defined(EXT_RAM_HEAP )
114+ #include <xmem.h>
115+ #else
116+ #define EXT_RAM 0
117+ #endif
118+
113119#if defined(__MK20DX128__ ) || defined(__MK20DX256__ )
114120#define USING_SPI4TEENSY3 USE_SPI4TEENSY3
115121#else
You can’t perform that action at this time.
0 commit comments