Convert chip name to upper case to fix rebuilds
PR #665 made stm32-metapac rebuild when the chip definition was changed. Though it used the lowercase version of the chip name as a filename which probably worked fine on windows with its case-independent filesystem, but was causing constant rebuilds on linux
This commit is contained in:
parent
c6fb7807c0
commit
58948051e5
@ -69,7 +69,7 @@ fn main() {
|
|||||||
println!(
|
println!(
|
||||||
"cargo:rerun-if-changed={}/chips/{}.json",
|
"cargo:rerun-if-changed={}/chips/{}.json",
|
||||||
data_dir.display(),
|
data_dir.display(),
|
||||||
chip_name
|
chip_name.to_uppercase()
|
||||||
);
|
);
|
||||||
|
|
||||||
println!("cargo:rerun-if-changed={}/registers", data_dir.display());
|
println!("cargo:rerun-if-changed={}/registers", data_dir.display());
|
||||||
|
Loading…
Reference in New Issue
Block a user