Initial STM32F1 family support with two examples for STM32F103C8 (Blue Pill)
This commit is contained in:
@ -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::*;
|
||||
|
Reference in New Issue
Block a user