Initial STM32F1 family support with two examples for STM32F103C8 (Blue Pill)

This commit is contained in:
Mariusz Ryndzionek 2021-09-26 17:08:22 +02:00
parent 1650983e46
commit bce909ec1e
14 changed files with 573 additions and 20 deletions
embassy-stm32/src/usart

View file

@ -127,6 +127,7 @@ crate::pac::interrupts!(
};
);
#[cfg(not(rcc_f1))]
macro_rules! impl_pin {
($inst:ident, $pin:ident, $signal:ident, $af:expr) => {
impl sealed::$signal<peripherals::$inst> for peripherals::$pin {