boards: nordic: nrf54l15pdk: fix flashing for `CPUFLPR_XIP`

`board.cmake` specified runner arguments only for the RAM-based variant,
use SOC config to support both:
`CONFIG_BOARD_NRF54L15PDK_NRF54L15_CPUFLPR` and
`CONFIG_BOARD_NRF54L15PDK_NRF54L15_CPUFLPR_XIP`.
Also align ARM target so it looks nice.

Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
This commit is contained in:
Marcin Szymczyk 2024-04-17 11:39:19 +02:00 committed by Fabio Baltieri
parent f16b33e902
commit c26bc94f19
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if (CONFIG_BOARD_NRF54L15PDK_NRF54L15_CPUAPP)
if (CONFIG_SOC_NRF54L15_ENGA_CPUAPP)
board_runner_args(jlink "--device=cortex-m33" "--speed=4000")
elseif (CONFIG_BOARD_NRF54L15PDK_NRF54L15_CPUFLPR)
elseif (CONFIG_SOC_NRF54L15_ENGA_CPUFLPR)
board_runner_args(jlink "--speed=4000")
endif()