Skip to content

Commit 7254a61

Browse files
carlescufikartben
authored andcommitted
scripts: runners: nrf: Fix flashing of FLPR/PPR on nRF54H20
After commit aaefaad, flashing of the FLPR and PPR cores in the nRF54H20 was broken due to those cores missing from the _get_core() function that retrieves the core to program, triggering an exception. Fix it by referencing those cores and mapping them to the application core. Signed-off-by: Carles Cufi <[email protected]>
1 parent 187a8ad commit 7254a61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/west_commands/runners/nrf_common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ def recover_target(self):
307307
def _get_core(self):
308308
if self.family in ('nrf54h', 'nrf92'):
309309
if (self.build_conf.getboolean('CONFIG_SOC_NRF54H20_CPUAPP') or
310+
self.build_conf.getboolean('CONFIG_SOC_NRF54H20_CPUFLPR') or
311+
self.build_conf.getboolean('CONFIG_SOC_NRF54H20_CPUPPR') or
310312
self.build_conf.getboolean('CONFIG_SOC_NRF9280_CPUAPP')):
311313
return 'Application'
312314
if (self.build_conf.getboolean('CONFIG_SOC_NRF54H20_CPURAD') or

0 commit comments

Comments
 (0)