diff options
| author | Joonas Javanainen <[email protected]> | 2022-03-21 00:15:09 +0200 |
|---|---|---|
| committer | Joonas Javanainen <[email protected]> | 2022-03-21 00:17:24 +0200 |
| commit | 5df4ae7bafc75fefa06ba24248bdc48627f7179e (patch) | |
| tree | 765ba8ddae09e763651f30141abafc9b663ec1ad /stm32-gen-features/src | |
| parent | 48f7d37e75213643afa69b551165e35915ee5e2d (diff) | |
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/src')
| -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 1ab4865a4..cd3a82bca 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>)] { | |||
| 52 | /// | 52 | /// |
| 53 | /// This function is slow because all the yaml files are parsed. | 53 | /// This function is slow because all the yaml files are parsed. |
| 54 | pub fn chip_names_and_cores() -> Vec<(String, Vec<String>)> { | 54 | pub fn chip_names_and_cores() -> Vec<(String, Vec<String>)> { |
| 55 | glob::glob("../stm32-data/data/chips/*.yaml") | 55 | glob::glob("../stm32-data/data/chips/*.json") |
| 56 | .unwrap() | 56 | .unwrap() |
| 57 | .filter_map(|entry| entry.map_err(|e| eprintln!("{:?}", e)).ok()) | 57 | .filter_map(|entry| entry.map_err(|e| eprintln!("{:?}", e)).ok()) |
| 58 | .filter_map(|entry| { | 58 | .filter_map(|entry| { |
