Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

phil-levis
Copy link
Contributor

@phil-levis phil-levis commented Dec 10, 2020

Pull Request Overview

This pull request updates the SPI controller syscall capsule to use the 2.0 syscall API.

Testing Strategy

This pull request was tested by running the spi_buf test in libtock-c. Which turns out it doesn't work, because the syscall driver for imix uses the same CS as the radio, so you see weird behavior. So I checked it with other configurations, using a logic analyzer.

TODO or Help Wanted

Once we have ported things, we will likely want to start writing tests for what happens if buffers are yanked.

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

@bradjc bradjc added the tock-2.0 Issues and PRs related to Tock version 2.0. label Dec 11, 2020
@phil-levis
Copy link
Contributor Author

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 14, 2020

@bors bors bot merged commit db70f5b into tock-2.0-dev Dec 14, 2020
@bors bors bot deleted the spi_controller_2.0 branch December 14, 2020 21:03
lschuermann pushed a commit to lschuermann/tock that referenced this pull request Mar 20, 2021
2253: Spi controller 2.0 r=phil-levis a=phil-levis

### Pull Request Overview

This pull request updates the SPI controller syscall capsule to use the 2.0 syscall API.


### Testing Strategy

This pull request was tested by running the `spi_buf` test in libtock-c. Which turns out it doesn't work, because the syscall driver for imix uses the same CS as the radio, so you see weird behavior. So I checked it with other configurations, using a logic analyzer.


### TODO or Help Wanted

Once we have ported things, we will likely want to start writing tests for what happens if buffers are yanked.


### Documentation Updated

- [x] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [x] Ran `make prepush`.


Co-authored-by: Philip Levis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tock-2.0 Issues and PRs related to Tock version 2.0.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants