Put the implicit memory.x behind a memory_x
feature on embassy-stm32.
This commit is contained in:
@ -17,6 +17,7 @@ regex = "1.5.4"
|
||||
|
||||
[features]
|
||||
rt = ["cortex-m-rt/device"]
|
||||
memory_x = []
|
||||
|
||||
# BEGIN GENERATED FEATURES
|
||||
# Generated by gen_features.py. DO NOT EDIT.
|
||||
|
@ -27,5 +27,13 @@ fn main() {
|
||||
out_dir.display(),
|
||||
chip_name.to_ascii_lowercase()
|
||||
);
|
||||
|
||||
#[cfg(feature = "memory_x")]
|
||||
println!(
|
||||
"cargo:rustc-link-search={}/src/chips/{}/memory_x/",
|
||||
out_dir.display(),
|
||||
chip_name.to_ascii_lowercase()
|
||||
);
|
||||
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
}
|
||||
|
Reference in New Issue
Block a user