spi4teensy3 and teensy 3.1 bug

Status
Not open for further replies.

manitou

Senior Member+
The spi4teens3 library does not comple for teensy 3.1. There is actually NOT a file mk20dx256.h, so the
#include <mk20dx128.h>
in spi4teensy3.h is apparently adequate for both 3.0 and 3.1. (I was concerned about the need for mk20dx256.h when I fixed the Wire library to get it to compile for 3.1, but Wire worked fine with just mk20dx128.h ) You probably need to retain
#if defined(__MK20DX128__) || defined(__MK20DX256__)
 
Hmmm, Paul I see that you recently made updates to this github site, so I guess you could fix spi4teensy3.h ...
 
Hmmm, Paul I see that you recently made updates to this github site, so I guess you could fix spi4teensy3.h ...

I fixed it on my copy and sent a pull request to Alex.

https://github.com/PaulStoffregen/spi4teensy3

If there's any other places to update, please let me know. I'll be out tomorrow and maybe part of Thursday, so if I don't respond quickly, don't panic... just remind me on Friday.

Edit: Alex merged the pull request before I even had finished typing this message! ;)
 
Status
Not open for further replies.
Back
Top