Merge #916
916: Lpuart hil r=Dirbaio a=Dirbaio depends on #915 bors r+ Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
commit
b7d77985cf
2 changed files with 2 additions and 14 deletions
|
@ -15,12 +15,6 @@ async fn main(_spawner: Spawner) {
|
|||
let p = embassy_stm32::init(config());
|
||||
info!("Hello World!");
|
||||
|
||||
#[cfg(feature = "stm32wb55rg")]
|
||||
{
|
||||
info!("Test SKIPPED");
|
||||
cortex_m::asm::bkpt();
|
||||
}
|
||||
|
||||
// Arduino pins D0 and D1
|
||||
// They're connected together with a 1K resistor.
|
||||
#[cfg(feature = "stm32f103c8")]
|
||||
|
@ -32,7 +26,7 @@ async fn main(_spawner: Spawner) {
|
|||
#[cfg(feature = "stm32f429zi")]
|
||||
let (tx, rx, usart) = (p.PG14, p.PG9, p.USART6);
|
||||
#[cfg(feature = "stm32wb55rg")]
|
||||
let (tx, rx, usart) = (p.PA9, p.PA10, p.USART1); // TODO this is wrong
|
||||
let (tx, rx, usart) = (p.PA2, p.PA3, p.LPUART1);
|
||||
#[cfg(feature = "stm32h755zi")]
|
||||
let (tx, rx, usart) = (p.PB6, p.PB7, p.USART1);
|
||||
#[cfg(feature = "stm32u585ai")]
|
||||
|
|
|
@ -14,12 +14,6 @@ async fn main(_spawner: Spawner) {
|
|||
let p = embassy_stm32::init(config());
|
||||
info!("Hello World!");
|
||||
|
||||
#[cfg(feature = "stm32wb55rg")]
|
||||
{
|
||||
info!("Test SKIPPED");
|
||||
cortex_m::asm::bkpt();
|
||||
}
|
||||
|
||||
// Arduino pins D0 and D1
|
||||
// They're connected together with a 1K resistor.
|
||||
#[cfg(feature = "stm32f103c8")]
|
||||
|
@ -31,7 +25,7 @@ async fn main(_spawner: Spawner) {
|
|||
#[cfg(feature = "stm32f429zi")]
|
||||
let (tx, rx, usart, tx_dma, rx_dma) = (p.PG14, p.PG9, p.USART6, p.DMA2_CH6, p.DMA2_CH1);
|
||||
#[cfg(feature = "stm32wb55rg")]
|
||||
let (tx, rx, usart, tx_dma, rx_dma) = (p.PA9, p.PA10, p.USART1, p.DMA1_CH1, p.DMA1_CH2); // TODO this is wrong
|
||||
let (tx, rx, usart, tx_dma, rx_dma) = (p.PA2, p.PA3, p.LPUART1, p.DMA1_CH1, p.DMA1_CH2);
|
||||
#[cfg(feature = "stm32h755zi")]
|
||||
let (tx, rx, usart, tx_dma, rx_dma) = (p.PB6, p.PB7, p.USART1, p.DMA1_CH0, p.DMA1_CH1);
|
||||
#[cfg(feature = "stm32u585ai")]
|
||||
|
|
Loading…
Reference in a new issue