stm32-metapac: remove all macrotables, deduplicate metadata files.
This commit is contained in:
@@ -3,5 +3,13 @@
|
||||
#![allow(unused)]
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// GEN CUT HERE
|
||||
include!(concat!(env!("OUT_DIR"), "/src/lib_inner.rs"));
|
||||
pub mod common;
|
||||
|
||||
#[cfg(feature = "pac")]
|
||||
include!(env!("STM32_METAPAC_PAC_PATH"));
|
||||
|
||||
#[cfg(feature = "metadata")]
|
||||
pub mod metadata {
|
||||
include!("metadata.rs");
|
||||
include!(env!("STM32_METAPAC_METADATA_PATH"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user