From fff2fef27c6f4e07698bac7b6b220324daf5ef34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B8e?= Date: Tue, 22 Apr 2025 17:15:08 +0200 Subject: [PATCH] west: runners: nrf_common: Temp hack for NRF54H20_IRON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Temp hack while waiting for NRF54H20_IRON support for Network in nrfutil. Signed-off-by: Sebastian Bøe --- scripts/west_commands/runners/nrf_common.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/west_commands/runners/nrf_common.py b/scripts/west_commands/runners/nrf_common.py index d18029c6b2e..af4f8286722 100644 --- a/scripts/west_commands/runners/nrf_common.py +++ b/scripts/west_commands/runners/nrf_common.py @@ -464,6 +464,10 @@ class NrfBinaryRunner(ZephyrBinaryRunner): self.logger.debug(f'Erase modes: chip:{erase_arg} ext_mem:' f'{ext_mem_erase_opt}') + # Temp hack while waiting for NRF54H20_IRON support for Network in nrfutil + if self.build_conf.get('CONFIG_SOC_NRF54H20_IRON') and core == "Network": + core = "Application" + self.op_program(self.hex_, erase_arg, ext_mem_erase_opt, defer=True, core=core) self.flush(force=False)