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