Put the implicit memory.x behind a memory_x
feature on embassy-stm32.
This commit is contained in:
@ -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