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

View File

@ -27,7 +27,7 @@ pub struct Clocks {
#[cfg(rcc_wl5)]
pub apb3: Hertz,
#[cfg(any(rcc_l0, rcc_l1, rcc_f0, rcc_f0x0, rcc_g0))]
#[cfg(any(rcc_l0, rcc_l1, rcc_f0, rcc_f1, rcc_f0x0, rcc_g0))]
pub ahb: Hertz,
#[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb, rcc_wl5))]
@ -79,6 +79,9 @@ cfg_if::cfg_if! {
} else if #[cfg(rcc_l4)] {
mod l4;
pub use l4::*;
} else if #[cfg(rcc_f1)] {
mod f1;
pub use f1::*;
} else if #[cfg(rcc_f4)] {
mod f4;
pub use f4::*;