Skip to content

Commit d58d0c6

Browse files
committed
[nrf fromlist] west: runners: add support for cpusec
Without this it is not possible to program through the secure AP. Upstream PR #: 87615 Signed-off-by: Håkon Amundsen <[email protected]>
1 parent 3fef3bd commit d58d0c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/west_commands/runners/nrf_common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ def _get_core(self):
314314
if (self.build_conf.getboolean('CONFIG_SOC_NRF54H20_CPURAD') or
315315
self.build_conf.getboolean('CONFIG_SOC_NRF9280_CPURAD')):
316316
return 'Network'
317+
if (self.build_conf.getboolean('CONFIG_SOC_NRF54H20_CPUSEC') or
318+
self.build_conf.getboolean('CONFIG_SOC_NRF9280_CPUSEC')):
319+
return 'Secure'
317320
raise RuntimeError(f'Core not found for family: {self.family}')
318321

319322
if self.family in ('nrf53'):

0 commit comments

Comments
 (0)