diff --git a/bouffalo-hal/src/sdio.rs b/bouffalo-hal/src/sdio.rs index 3855e23..714d4db 100644 --- a/bouffalo-hal/src/sdio.rs +++ b/bouffalo-hal/src/sdio.rs @@ -380,7 +380,7 @@ impl Command { } /// Set this bit to 0 for the following: /// (1) Commands using only CMD line (ex.CMD52). - /// (2) Commands with no data transfer but using busy signal on DAT[0] line (R1b or R5b ex. CMD38). + /// (2) Commands with no data transfer but using busy signal on DAT\[0\] line (R1b or R5b ex. CMD38). /// (3) Resume command. #[inline] pub const fn unset_data_present(self) -> Self { diff --git a/bouffalo-hal/src/uart/asynch.rs b/bouffalo-hal/src/uart/asynch.rs index c7acc9c..93136eb 100644 --- a/bouffalo-hal/src/uart/asynch.rs +++ b/bouffalo-hal/src/uart/asynch.rs @@ -11,6 +11,7 @@ use core::{ }; /// Managed async/await serial peripheral. +#[derive(Debug)] pub struct AsyncSerial { uart: UART, pads: PADS, @@ -59,6 +60,7 @@ impl, PADS> AsyncSerial { } /// Set of wakers as the state for an async/await serial peripheral. +#[derive(Debug)] pub struct SerialState { transmit_ready: atomic_waker::AtomicWaker, receive_ready: atomic_waker::AtomicWaker, diff --git a/bouffalo-rt/Cargo.toml b/bouffalo-rt/Cargo.toml index 1ddfa16..85c2322 100644 --- a/bouffalo-rt/Cargo.toml +++ b/bouffalo-rt/Cargo.toml @@ -12,7 +12,7 @@ crc = "3.2.1" cfg-if = "1.0.0" embedded-time = "0.12.1" plic = "0.0.2" -xuantie-riscv = { git = "https://github.com/rustsbi/xuantie", commit = "fe7ec712" } +xuantie-riscv = { git = "https://github.com/rustsbi/xuantie", rev = "fe7ec712" } [dev-dependencies] memoffset = "0.9.1" diff --git a/examples/peripherals/uart-async-demo/src/main.rs b/examples/peripherals/uart-async-demo/src/main.rs index 4adbc3e..e25b43f 100644 --- a/examples/peripherals/uart-async-demo/src/main.rs +++ b/examples/peripherals/uart-async-demo/src/main.rs @@ -1,4 +1,3 @@ -#![feature(noop_waker)] #![no_std] #![no_main]