Add stm32-metapac crate, with codegen in rust
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#![macro_use]
|
||||
|
||||
#[cfg_attr(feature = "_usart_v1", path = "v1.rs")]
|
||||
#[cfg_attr(feature = "_usart_v2", path = "v2.rs")]
|
||||
#[cfg_attr(usart_v1, path = "v1.rs")]
|
||||
#[cfg_attr(usart_v2, path = "v2.rs")]
|
||||
mod _version;
|
||||
pub use _version::*;
|
||||
|
||||
|
@ -101,7 +101,7 @@ impl<'d, T: Instance> Uart<'d, T> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "_dma_v2")]
|
||||
#[cfg(dma_v2)]
|
||||
pub async fn write_dma(
|
||||
&mut self,
|
||||
ch: &mut impl crate::dma::Channel,
|
||||
|
Reference in New Issue
Block a user