We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fce7f5 commit bcd8ebbCopy full SHA for bcd8ebb
tools/targets/STM32_gen_PeripheralPins.py
@@ -1248,6 +1248,10 @@ def parse_BoardFile(fileName):
1248
Parameter can be a filter like L496 (only the first file found will be parsed).
1249
'''))
1250
1251
+group.add_argument("-c", "--custom", help=textwrap.dedent('''\
1252
+specify a custom board .ioc file description to use (use double quotes).
1253
+'''))
1254
+
1255
args = parser.parse_args()
1256
1257
if not(os.path.isdir(cubemxdir)):
@@ -1364,6 +1368,10 @@ def parse_BoardFile(fileName):
1364
1368
else:
1365
1369
quit()
1366
1370
1371
+# Parse the user's custom board .ioc file
1372
+if args.custom:
1373
+ parse_BoardFile(args.custom)
1374
1367
1375
for mcu_file in mcu_list:
1376
if args.mcu:
1377
TargetName = os.path.splitext(mcu_file)[0]
0 commit comments