-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update delays to use EH 1.0 rc1 traits * Update gpio to use EH 1.0 rc1 traits * Update clock to use EH 1.0 rc1 traits * Update i2c to use EH 1.0 rc1 traits * Switch timer to implement 0.2 countdown, as 1.0 does not have it yet * Switch serial to implement embedded-hal-nb 1.0 rc1 traits * Switch spi to implement embedded-hal-nb 1.0 rc1 traits * Switch watchdog from embedded-hal 1.0 traits to 0.2 traits * Switch timer from associated type error to CountDownError to match newer e-h traits * Add embedded-hal 1.0 and embedded-hal-nb error impls for gpio, i2c, serial, spi * Update types and errorkind on delay 0.2 and 1.0 impls * Add mapping from i2c::Error to e-h::i2c::ErrorKind * Add mapping from serial::Error to e-h-nb::serial::ErrorKind * Update watchdog impls to match e-h 0.2 traits * Fix CountDownTimer signature. Removed wrap-check as 500 years runtime is unlikely * Add void to dependencies * Remove unused import + dead code * Fix examples * Don't try to implement I2c::transaction - leave it as Unimplemented!() for now * Implement eh 0.2 DelayMs for all integer types
- Loading branch information
Showing
14 changed files
with
204 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.