Skip to content

Commit f0d26a9

Browse files
miggazElquezkartben
authored andcommitted
runners: add '--dt-flash=y' for silabs commander
Due to a bug in scripts/west_commands/runners/core.py, the value of --dt-flash can currently be True, False, or the default value, 'n'. The script silabs_commander.py only check the truth value of --dt-flash, so the default value is interpreted as a truthy. That means that the default case was effectively the same as if dt-flash was set to True. Set this flag to True by default explicitly, in the same way as done for pyocd or jlink. Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
1 parent 9da4e8f commit f0d26a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
board_set_flasher_ifnset(silabs_commander)
4-
board_finalize_runner_args(silabs_commander)
4+
board_finalize_runner_args(silabs_commander "--dt-flash=y")

0 commit comments

Comments
 (0)