diff options
| author | Henrik Alsér <[email protected]> | 2022-05-26 18:54:58 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-26 18:54:58 +0200 |
| commit | e10fc2bada1c59420431f09a35f7aa09a5b45623 (patch) | |
| tree | 4b05a177db2a3e86c86058714d9a4ed014aea486 /examples/boot/nrf/src/bin/a.rs | |
| parent | 36a1f203648dcb402727ea3eb5d30cf1f6993795 (diff) | |
Async shared bus for SPI & I2C + rename embassy-traits (#769)
* Rename embassy-traits to embassy-embedded-hal
* Rename embassy-traits to embassy-embedded-hal
* Add shared bus for SPI and I2C
* rustfmt
* EHA alpha 1
* Rename embedded-traits in examples
* rustfmt
* rustfmt
Co-authored-by: Henrik Alsér <[email protected]>
Diffstat (limited to 'examples/boot/nrf/src/bin/a.rs')
| -rw-r--r-- | examples/boot/nrf/src/bin/a.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/nrf/src/bin/a.rs b/examples/boot/nrf/src/bin/a.rs index 7368e36ce..d45d0ff34 100644 --- a/examples/boot/nrf/src/bin/a.rs +++ b/examples/boot/nrf/src/bin/a.rs | |||
| @@ -5,13 +5,13 @@ | |||
| 5 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 6 | 6 | ||
| 7 | use embassy_boot_nrf::FirmwareUpdater; | 7 | use embassy_boot_nrf::FirmwareUpdater; |
| 8 | use embassy_embedded_hal::adapter::BlockingAsync; | ||
| 8 | use embassy_nrf::{ | 9 | use embassy_nrf::{ |
| 9 | gpio::{Input, Pull}, | 10 | gpio::{Input, Pull}, |
| 10 | gpio::{Level, Output, OutputDrive}, | 11 | gpio::{Level, Output, OutputDrive}, |
| 11 | nvmc::Nvmc, | 12 | nvmc::Nvmc, |
| 12 | Peripherals, | 13 | Peripherals, |
| 13 | }; | 14 | }; |
| 14 | use embassy_traits::adapter::BlockingAsync; | ||
| 15 | use panic_reset as _; | 15 | use panic_reset as _; |
| 16 | 16 | ||
| 17 | static APP_B: &[u8] = include_bytes!("../../b.bin"); | 17 | static APP_B: &[u8] = include_bytes!("../../b.bin"); |
