twister: pytest: hardware_adapter: adapt to nrfutil.
add --dev-id to flashing command also when nrfutil runner is used. Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
This commit is contained in:
parent
e396923198
commit
0b076a93ca
|
@ -70,7 +70,7 @@ class HardwareAdapter(DeviceAdapter):
|
|||
if runner == 'pyocd':
|
||||
extra_args.append('--board-id')
|
||||
extra_args.append(board_id)
|
||||
elif runner == 'nrfjprog':
|
||||
elif runner in ('nrfjprog', 'nrfutil'):
|
||||
extra_args.append('--dev-id')
|
||||
extra_args.append(board_id)
|
||||
elif runner == 'openocd' and self.device_config.product in ['STM32 STLink', 'STLINK-V3']:
|
||||
|
|
Loading…
Reference in a new issue