Skip to content

Commit

Permalink
fix(hpm53): wrong pins in sdk source
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 27, 2024
1 parent 174296c commit ad96021
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hpm-data-gen/src/pins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ pub fn add_ioc_pins_from_sdk<P: AsRef<Path>>(
})
.collect();

// fix wrong pins
if chip_name.starts_with("HPM53") {
pins = pins
.into_iter()
.filter(|p| !p.name.starts_with("PX"))
.collect();
}

pins.sort_by_key(|p| p.index);

for core in &mut chip.cores {
Expand Down

0 comments on commit ad96021

Please sign in to comment.