stm32: add stm32f103 bluepill to HIL tests.

This commit is contained in:
Dario Nieuwenhuis
2022-02-24 00:19:26 +01:00
parent 1b3c34b923
commit e39fd4a736
7 changed files with 13 additions and 4 deletions

View File

@@ -15,6 +15,8 @@ use example_common::*;
async fn main(_spawner: Spawner, p: Peripherals) {
info!("Hello World!");
#[cfg(feature = "stm32f103c8")]
let (sck, mosi, miso, tx_dma, rx_dma) = (p.PA5, p.PA7, p.PA6, p.DMA1_CH3, p.DMA1_CH2);
#[cfg(feature = "stm32f429zi")]
let (sck, mosi, miso, tx_dma, rx_dma) = (p.PA5, p.PA7, p.PA6, p.DMA2_CH3, p.DMA2_CH2);
#[cfg(feature = "stm32h755zi")]