stm32: add stm32u5 GPDMA, SPIv4 support, add HIL tests.
This commit is contained in:
@ -35,6 +35,8 @@ async fn main(_spawner: Spawner, p: Peripherals) {
|
||||
let (tx, rx, usart) = (p.PA9, p.PA10, p.USART1); // TODO this is wrong
|
||||
#[cfg(feature = "stm32h755zi")]
|
||||
let (tx, rx, usart) = (p.PB6, p.PB7, p.USART1);
|
||||
#[cfg(feature = "stm32u585ai")]
|
||||
let (tx, rx, usart) = (p.PD8, p.PD9, p.USART3);
|
||||
|
||||
let config = Config::default();
|
||||
let mut usart = Uart::new(usart, rx, tx, NoDma, NoDma, config);
|
||||
|
Reference in New Issue
Block a user