embassy/stm32-metapac/src/lib.rs

19 lines
378 B
Rust
Raw Normal View History

#![no_std]
#![allow(non_snake_case)]
#![allow(unused)]
#![allow(non_camel_case_types)]
#![doc(html_no_source)]
pub mod common {
include!(env!("STM32_METAPAC_COMMON_PATH"));
}
#[cfg(feature = "pac")]
include!(env!("STM32_METAPAC_PAC_PATH"));
#[cfg(feature = "metadata")]
pub mod metadata {
include!("metadata.rs");
include!(env!("STM32_METAPAC_METADATA_PATH"));
}