-
Notifications
You must be signed in to change notification settings - Fork 31
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
Tessel & RPi compat #7
Open
jiahuang
wants to merge
20
commits into
natevw:master
Choose a base branch
from
tessel:jh-tessel
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…/beta/issues/48 docs-o-mentation: much of it / but not all / of it. quick fixes during initial test attempts on device use tessel.sleep instead of spinloop attempted workaround for https://github.com/tessel/beta/issues/72, now giving Bytecode compilation error… fix queue-async include (no improvement on https://github.com/tessel/beta/issues/73), put back relative include too just to start back over on https://github.com/tessel/beta/issues/72 start workaround for https://github.com/tessel/beta/issues/62 attempt to workaround https://github.com/tessel/beta/issues/73 by including queue-async directly but still triggers trouble a working version of queue-async cleaner workaround for https://github.com/tessel/beta/issues/73, closes https://github.com/tessel/beta/issues/72 quick workaround for https://github.com/tessel/beta/issues/74 remove ancient log wrap Tessel SPI with asymetric read/write convenience turn on debug workaround for SPI not setting CSN workaround for https://github.com/tessel/beta/issues/85 (corrupts queue.js internal state and causes procesing to just stop) fix isBuffer check to handle null workaround https://github.com/tessel/beta/issues/86 workaround for https://github.com/tessel/beta/issues/87 better note for https://github.com/tessel/beta/issues/89 tessel compiler not liking switch statement tonight, see https://github.com/tessel/beta/issues/181 workaround for https://github.com/tessel/beta/issues/198 workaround for https://github.com/tessel/beta/issues/199 add workaround for https://github.com/tessel/beta/issues/200 add workaround for https://github.com/tessel/beta/issues/201 make response log slightly less confusing apparently SPI returns an array instead of buffer, workaround https://github.com/tessel/beta/issues/203 (although I'm not sure if this was hurting anything but debug log readability) log written data in hex too for easier debugging workaround for https://github.com/tessel/beta/issues/202 workaround https://github.com/tessel/beta/issues/204 typo in comment workaround https://github.com/tessel/beta/issues/206 with own binary parse remove workaround for https://github.com/tessel/beta/issues/73 remove workaround for https://github.com/tessel/beta/issues/74 clean up tessel wait a bit (also baby step back to merging this and main lib) move test code out of library and back into test.js actually, split out tessel test code into own file start testing read/write pipes, with tiny stream.Duplex stub add workaround for https://github.com/tessel/beta/issues/207 add note about next bug…, https://github.com/tessel/beta/issues/209 attempted workaround for some tessel number formatting stuff, but see https://github.com/tessel/beta/issues/213 workaround Tessel number handling, https://github.com/tessel/beta/issues/213 https://github.com/tessel/beta/issues/206 https://github.com/tessel/beta/issues/209 don't inject tessel module anymore implement Tessel version of setCE, clean up some bad variable usage better logging for TX show sleep in debug mode on tessel make fake stream appear ever-eager for more data reads/writes better execCommand logging better polling strategy on Tessel: instead of polling status, at least poll IRQ pin add passive listen mode to test script re-enable plain UTF-8 buffer toString sample/test code to listen to same stuff as https://github.com/natevw/greenhouse/blob/master/greenhub.cpp#L42 + https://github.com/natevw/rooflux/blob/greenhouse/display.html#L65 remove workaround for https://github.com/tessel/beta/issues/89, .activeChipSelect is now an internal method
Suwheeet, thanks for doing all this. I'm heads down on the SD/FAT stuff but am excited to test this on RasPi and merge it in! |
New Tessel API
Kb example
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR merges index.js to work with both Tessel and an RPi. All Tessel workarounds are removed.
Here are the new usage examples for RPi and Tessel.
Tested and working on a Tessel. Did not test on the RPi, though none of the index.js logic changed.