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>
This commit is contained in:
parent
9da4e8f30f
commit
f0d26a9d02
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
board_set_flasher_ifnset(silabs_commander)
|
||||
board_finalize_runner_args(silabs_commander)
|
||||
board_finalize_runner_args(silabs_commander "--dt-flash=y")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue