diff options
author | Joonas Javanainen <joonas.javanainen@gmail.com> | 2022-03-21 00:15:09 +0200 |
---|---|---|
committer | Joonas Javanainen <joonas.javanainen@gmail.com> | 2022-03-21 00:17:24 +0200 |
commit | 5df4ae7bafc75fefa06ba24248bdc48627f7179e (patch) | |
tree | 765ba8ddae09e763651f30141abafc9b663ec1ad /stm32-gen-features | |
parent | 48f7d37e75213643afa69b551165e35915ee5e2d (diff) | |
download | embassy-5df4ae7bafc75fefa06ba24248bdc48627f7179e.zip |
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
Diffstat (limited to 'stm32-gen-features')
-rw-r--r-- | stm32-gen-features/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String>)] { /// /// This function is slow because all the yaml files are parsed. pub fn chip_names_and_cores() -> Vec<(String, Vec<String>)> { - 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| { |