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
lora: Add support for a LoRa capsule #317
Conversation
3873984
to
b631bf3
Compare
b631bf3
to
d01cb9b
Compare
Updated to support the latest version of tock/tock#3360 |
d01cb9b
to
5aaed8f
Compare
3360: lora-phy: Add support for a LoRa capsule r=hudson-ayers a=alistair23 ### Pull Request Overview This builds on top of #3330 and adds a LoRa capsule. The capsule is pretty simple and mostly just exposes the SPI device and some GPIO pins. This could pretty much all be done with the current SPI and GPIO capsules, but this has a few advantages. * It allows us to expose other SPI busses to userspace * It hides the GPIO numbering so that it doesn't change per board. This allows the userspace code to be board independent With this PR, support in libtock-c and LoRaMac-node we can run LoRa code on Tock ### Testing Strategy I have tested communicating and interfacing with the LoRa device, using [libtock-c](tock/libtock-c#317) ### TODO or Help Wanted ### Documentation Updated - [X] Updated the relevant files in `/docs`, or no updates are required. ### Formatting - [X] Ran `make prepush`. Co-authored-by: Alistair Francis <alistair@alistair23.me>
The Tock changes are in, this is also ready to go |
Signed-off-by: Alistair Francis <alistair@alistair23.me>
I have updated the names to match the kernel. Can this be merged? |
bors r+ |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
317: lora: Add support for a LoRa capsule r=bradjc a=alistair23 This adds userspace support for the new Tock [LoRaMac capsule](tock/tock#3360) Co-authored-by: Alistair Francis <alistair@alistair23.me>
This adds userspace support for the new Tock LoRaMac capsule