Based off of @ahmedcharles work in #42 which I kind of botched up by merging to master too soon. @ahmedcharles if you feel strongly about the contribution loss here please ping me here and we can figure out how to best combine these changes so you get the proper credit for the alpha.7 changes.
Adds support for embedded-hal v1.0.0-alpha.8 by refactoring existing SPI device implementation into using the new traits.
Tested with write only so far.
Requires: https://github.com/riscv-rust/e310x/pull/26 https://github.com/rust-embedded/riscv-rt/pull/101 https://github.com/rust-embedded/riscv/pull/106
Based off of @ahmedcharles work in #42 which I kind of botched up by merging to master too soon. @ahmedcharles if you feel strongly about the contribution loss here please ping me here and we can figure out how to best combine these changes so you get the proper credit for the
alpha.7
changes.