We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3af9379 commit 6f86a47Copy full SHA for 6f86a47
1 file changed
CI/update/stm32variant.py
@@ -221,7 +221,10 @@ def parse_mcu_file():
221
if "FS" in inst.group(1):
222
usb_inst["otg_fs"] = inst.group(1)
223
else:
224
- usb_inst["otg_hs"] = inst.group(1)
+ if inst.group(1).endswith("HS1"):
225
+ usb_inst["otg_hs"] = inst.group(1)[:-1]
226
+ else:
227
+ usb_inst["otg_hs"] = inst.group(1)
228
229
usb_inst["usb"] = inst.group(1)
230
0 commit comments