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

Adding HAL to support abstract underlying devices #4

Merged
merged 22 commits into from
Aug 1, 2020
Merged

Conversation

ryankurte
Copy link
Owner

@ryankurte ryankurte commented Feb 28, 2020

Re-worked the wrapper type to use the new transactional SPI api, reworked Hal abstraction and added hal-linux and hal-cp2130 implementations.

Added an example ManagedChipSelect trait and updated Wrapper to re-expose SPI devices with this trait as proposed in rust-embedded/embedded-hal#180

Todo:

  • Document HAL / justification / usage
  • Test new API in existing radio drivers
  • Revert from patches to released crates (once upstream PRs have landed)
  • Clean up any unimplemented!()

Blocked on:

cc. @berkowski in case you're interested in the changes

@ryankurte ryankurte merged commit 2e45501 into master Aug 1, 2020
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

Successfully merging this pull request may close these issues.

1 participant