Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a drop in replacement for SPI.h #7

Open
gearhead opened this issue Dec 5, 2014 · 5 comments
Open

Not a drop in replacement for SPI.h #7

gearhead opened this issue Dec 5, 2014 · 5 comments

Comments

@gearhead
Copy link

gearhead commented Dec 5, 2014

This is awesome work, but since the commands are not identical to the SPI commands in the arduino installation, many other libraries (i.e displays) cannot use this without much effort in rewriting the libraries. Is there a way to package this so be command compatible with the SPI library included with Arduino IDE? It would be awesome if this could just be a drop in replacement for SPI.h/SPI.cpp...

Regards and thanks for the great work.

@xxxajk
Copy link
Owner

xxxajk commented Dec 5, 2014

Eventually, I hope that Paul will simply use this code.
As far as a straight-away drop-in replacement, it is possible to do, and now that the SPI API has settled, I do plan on doing this.
One of the current problems, though, is that teensyduino installs with arduino < 1.5. I can do it, but it would end up looking really ugly, and would have to use a nasty include path hack.
Once Paul moves to the newer Arduino (Currently 1.6.0) if he does not include this code, I can do a replacement very easily, without any ugliness.

@adigregorio
Copy link

has there been any development on this front? it seems that Paul hasn't updated the SPI page in quite a while, as it still is mostly geared towards teensy 2.

@xxxajk
Copy link
Owner

xxxajk commented Jun 30, 2017

None. This may change soon, however.

@Pitchnogle
Copy link

How do I build this? I am new to the teensy platform. It looks like there are some dependencies in the header. Where do these come from?

@xxxajk
Copy link
Owner

xxxajk commented Dec 1, 2018

They come from the teensyduino install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants