ryankurte / rust-driver-pal

Rust embedded SPI helper / testing package
1 stars 6 forks source link

Adding HAL to support abstract underlying devices #4

Closed ryankurte closed 4 years ago

ryankurte commented 4 years ago

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 https://github.com/rust-embedded/embedded-hal/issues/180

Todo:

Blocked on:

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