Releases: Rahix/shared-bus
Releases · Rahix/shared-bus
Version 0.3.1
Added
- Implementations of the
WriteIterandWriteIterReadtraits fromembedded-hal(#53 by @thejpster).
Version 0.3.0
Changed
- BREAKING Upgraded to
cortex-m0.7. - BREAKING Upgraded to
atomic-polyfill1.0. - BREAKING Upgraded to
xtensa-lx0.8 (#49 by @jscatena88).
Version 0.2.5
Version 0.2.4
Added
- Added support for the I2C traits from the
embedded-halalpha 8 version (eh-alphafeature flag) (#36).
Fixed
- Fixed the
atomic-polyfilldependency being pulled in even in cases where it is not used. - Fixed a problem with the ADC sharing
embedded-haldependency.
Version 0.2.3
Version 0.2.2 (minor patch for last release)
Changed
- Updated the documentation on how to use
shared-buswith RTIC. - Removed superfluous trait bounds on the types - the trait bounds are really only necessary on the
impl-blocks.
Fixed
- Fixed the
Cloneimplementations from 0.2.1 being useless due to an unnecessary trait bound.
Version 0.2.1
Added
- Added a new "Mutex" and bus-manager for compatibility with RTIC. Check the documentation for the
BusManagerAtomicCheckfor details.
Changed
I2cProxyandSpiProxynow implementClone. Cloning a proxy might be useful if a driver wants to split bus access up even further internally without wrapping the bus-proxy in another bus-manager.
Version 0.2.0
Complete rework of the crate, most items have changed at least slightly.
Please read the updated documentation to understand how the new version
works.
Added
- A
BusMutexSimplefor sharing within a single task/thread with minimal overhead. - Macros for instanciating a 'global' bus manager which lives for
'static.
Changed
- The
BusMutextrait'slock()method now passes&mutto the closure, removing theRefCellfrom the manager. - The generic parameter of
BusMutexwas moved into an associated type. - Instead of a single proxy-type for everything, separate proxy types were introduced, to allow different constraints on their creation.
Fixed
- The SPI proxy is now
!Sendto make sure it can only be used from within a single thread/task.