682: Convert chip name to upper case to fix rebuilds r=Dirbaio a=DCNick3

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

Co-authored-by: Nikita Strygin <nikita6@bk.ru>
This commit is contained in:
bors[bot] 2022-03-28 15:50:13 +00:00 committed by GitHub
commit 1a31cda3c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ fn main() {
println!(
"cargo:rerun-if-changed={}/chips/{}.json",
data_dir.display(),
chip_name
chip_name.to_uppercase()
);
println!("cargo:rerun-if-changed={}/registers", data_dir.display());