stm32: fix build, add ci

This commit is contained in:
Dario Nieuwenhuis
2021-05-17 03:01:30 +02:00
parent cd0d3c4b0d
commit f7858631d8
18 changed files with 166 additions and 7 deletions

View File

@ -103,7 +103,11 @@ impl<'d, T: Instance> Uart<'d, T> {
}
#[cfg(feature = "_dma_v2")]
pub async fn write_dma(&mut self, ch: &mut impl crate::dma::Channel, buffer: &[u8]) -> Result<(), Error> {
pub async fn write_dma(
&mut self,
ch: &mut impl crate::dma::Channel,
buffer: &[u8],
) -> Result<(), Error> {
let ch_func = 4; // USART3_TX
let r = self.inner.regs();

View File

@ -0,0 +1 @@