Skip to content

Commit 6d0716c

Browse files
committed
Ignore extra MCUs and toolchains in get_config.py
1 parent 254dccd commit 6d0716c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/get_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
# Target
5050
if options.mcu is None :
5151
args_error(parser, "[ERROR] You should specify an MCU")
52-
target = options.mcu
52+
target = options.mcu[0]
5353

5454
# Toolchain
5555
if options.tool is None:
5656
args_error(parser, "[ERROR] You should specify a TOOLCHAIN")
57-
toolchain = options.tool
57+
toolchain = options.tool[0]
5858

5959
options.prefix = options.prefix or [""]
6060

0 commit comments

Comments
 (0)