Skip to content

Commit 059e2c8

Browse files
committed
[genpimap] Ignore STM32MP*.xml provided with STM32CubeMX 5.1.0
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 3139eba commit 059e2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/genpinmap/genpinmap_arduino.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ def parse_pins():
917917
quit()
918918
mcu_list.append(args.mcu)
919919
else:
920-
mcu_list = fnmatch.filter(os.listdir(cubemxdir), "STM32*.xml")
920+
mcu_list = fnmatch.filter(os.listdir(cubemxdir), "STM32[!M][!P]*.xml")
921921

922922
if args.list:
923923
print("Available xml files description: %i" % len(mcu_list))

0 commit comments

Comments
 (0)