stm32: add rust stable support
This commit is contained in:
parent
f2eb438905
commit
340eb4eead
24 changed files with 149 additions and 52 deletions
embassy-stm32/src/usart
|
@ -256,7 +256,6 @@ mod eh02 {
|
|||
#[cfg(feature = "unstable-traits")]
|
||||
mod eh1 {
|
||||
use super::*;
|
||||
use core::future::Future;
|
||||
|
||||
impl embedded_hal_1::serial::Error for Error {
|
||||
fn kind(&self) -> embedded_hal_1::serial::ErrorKind {
|
||||
|
@ -274,6 +273,12 @@ mod eh1 {
|
|||
{
|
||||
type Error = Error;
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "unstable-traits", feature = "nightly"))]
|
||||
mod eh1a {
|
||||
use super::*;
|
||||
use core::future::Future;
|
||||
|
||||
impl<'d, T: Instance, TxDma, RxDma> embedded_hal_async::serial::Write for Uart<'d, T, TxDma, RxDma>
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue