Fix suffix of generated chip metadata files
stm32-data switched from YAML to JSON files in this commit:
4c1eda7c32
This commit is contained in:
parent
48f7d37e75
commit
5df4ae7baf
@ -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| {
|
||||
|
Loading…
Reference in New Issue
Block a user