Skip to content

Commit fc0b1f5

Browse files
authored
Merge pull request #630 from leftger/feat/wba6XXX-add-usbotg
Added USB_OTG mapping in perimap.rs
2 parents c9b0366 + 5f5aa3f commit fc0b1f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stm32-data-gen/src/perimap.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ pub static PERIMAP: RegexMap<(&str, &str, &str)> = RegexMap::new(&[
229229
("STM32U0.*:USBRAM:.*", ("usbram", "32_1024", "USBRAM")),
230230
// # USB OTG
231231
(".*:USB_OTG_FS:otgfs1_.*", ("otg", "v1", "OTG")),
232+
(".*:USB_OTG_HS:otghs.*", ("otg", "v1", "OTG")),
232233
(".*:USB_OTG_HS:otghs1_.*", ("otg", "v1", "OTG")),
233234
("STM32C0[579].*:RCC:.*", ("rcc", "c0v2", "RCC")),
234235
("STM32C0.*:RCC:.*", ("rcc", "c0", "RCC")),

0 commit comments

Comments
 (0)