Add stm32-metapac crate, with codegen in rust

This commit is contained in:
Dario Nieuwenhuis
2021-05-25 04:17:24 +02:00
parent fb85850492
commit d8e4421fc6
534 changed files with 2386 additions and 376357 deletions

View File

@ -31,10 +31,10 @@ pub unsafe fn get_freqs() -> &'static Clocks {
}
cfg_if::cfg_if! {
if #[cfg(feature = "_stm32h7")] {
if #[cfg(rcc_h7)] {
mod h7;
pub use h7::*;
} else if #[cfg(feature = "_stm32l0")] {
} else if #[cfg(rcc_l0)] {
mod l0;
pub use l0::*;
} else {