stm32/test: add C0 hil tests.
This commit is contained in:
@ -34,6 +34,8 @@ async fn main(_spawner: Spawner) {
|
||||
let (tx, rx, usart, irq) = (p.PD8, p.PD9, p.USART3, interrupt::take!(USART3));
|
||||
#[cfg(feature = "stm32h563zi")]
|
||||
let (tx, rx, usart, irq) = (p.PB6, p.PB7, p.LPUART1, interrupt::take!(LPUART1));
|
||||
#[cfg(feature = "stm32c031c6")]
|
||||
let (tx, rx, usart, irq) = (p.PB6, p.PB7, p.USART1, interrupt::take!(USART1));
|
||||
|
||||
let config = Config::default();
|
||||
let mut usart = Uart::new(usart, rx, tx, irq, NoDma, NoDma, config);
|
||||
|
Reference in New Issue
Block a user