From 5df4ae7bafc75fefa06ba24248bdc48627f7179e Mon Sep 17 00:00:00 2001 From: Joonas Javanainen Date: Mon, 21 Mar 2022 00:15:09 +0200 Subject: [PATCH] Fix suffix of generated chip metadata files stm32-data switched from YAML to JSON files in this commit: https://github.com/embassy-rs/stm32-data/commit/4c1eda7c32698a36e7c644c40c1dad778269cbb7 --- stm32-gen-features/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm32-gen-features/src/lib.rs b/stm32-gen-features/src/lib.rs index 1ab4865a..cd3a82bc 100644 --- a/stm32-gen-features/src/lib.rs +++ b/stm32-gen-features/src/lib.rs @@ -52,7 +52,7 @@ impl FilterSupported for &[(String, Vec)] { /// /// This function is slow because all the yaml files are parsed. pub fn chip_names_and_cores() -> Vec<(String, Vec)> { - glob::glob("../stm32-data/data/chips/*.yaml") + glob::glob("../stm32-data/data/chips/*.json") .unwrap() .filter_map(|entry| entry.map_err(|e| eprintln!("{:?}", e)).ok()) .filter_map(|entry| {