diff --git a/boards/itsybitsy_m4/Cargo.toml b/boards/itsybitsy_m4/Cargo.toml index 40d1dfe58311..2e1b51c9042c 100644 --- a/boards/itsybitsy_m4/Cargo.toml +++ b/boards/itsybitsy_m4/Cargo.toml @@ -24,7 +24,7 @@ version = "0.7" optional = true [dependencies.atsamd-hal] -version = "0.21" +version = "0.22.2" default-features = false [dependencies.usb-device] diff --git a/boards/itsybitsy_m4/examples/sercom_interrupt.rs b/boards/itsybitsy_m4/examples/sercom_interrupt.rs index af81a3811f7d..47d21d7efcd0 100644 --- a/boards/itsybitsy_m4/examples/sercom_interrupt.rs +++ b/boards/itsybitsy_m4/examples/sercom_interrupt.rs @@ -42,12 +42,12 @@ use bsp::hal::{ prelude::*, sercom::{ uart::{self, BaudMode, Flags, Oversampling}, - IoSet3, Sercom0, + Sercom0, }, time::Hertz, }; -type UartPads0 = uart::Pads; +type UartPads0 = uart::Pads; type Uart0 = uart::Uart, uart::Duplex>; /// Utility function for setting up SERCOM0 pins as an additional diff --git a/boards/itsybitsy_m4/src/lib.rs b/boards/itsybitsy_m4/src/lib.rs index 568d36e55ffc..ee3ff5aecc12 100644 --- a/boards/itsybitsy_m4/src/lib.rs +++ b/boards/itsybitsy_m4/src/lib.rs @@ -288,7 +288,7 @@ pub fn qspi_master( /// I2C pads for the labelled I2C peripheral /// /// You can use these pads with other, user-defined [`i2c::Config`]urations. -pub type I2cPads = i2c::Pads; +pub type I2cPads = i2c::Pads; /// I2C master for the labelled I2C peripheral /// @@ -318,7 +318,7 @@ pub fn i2c_master( } /// UART Pads for the labelled UART peripheral -pub type UartPads = uart::Pads; +pub type UartPads = uart::Pads; /// UART device for the labelled RX & TX pins pub type Uart = uart::Uart, uart::Duplex>; @@ -375,7 +375,7 @@ pub fn dotstar_bitbang( /// SPI pads for the labelled SPI peripheral /// /// You can use these pads with other, user-defined [`spi::Config`]urations. -pub type SpiPads = spi::Pads; +pub type SpiPads = spi::Pads; /// SPI master for the labelled SPI peripheral ///