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

@ -23,6 +23,8 @@ async fn main(_spawner: Spawner, p: Peripherals) {
// Arduino pins D0 and D1
// They're connected together with a 1K resistor.
#[cfg(feature = "stm32f103c8")]
let (tx, rx, usart) = (p.PA9, p.PA10, p.USART1);
#[cfg(feature = "stm32g491re")]
let (tx, rx, usart) = (p.PC4, p.PC5, p.USART1);
#[cfg(feature = "stm32g071rb")]