From c26bc94f19675a269317f16064b1c8f3ae50b97c Mon Sep 17 00:00:00 2001 From: Marcin Szymczyk Date: Wed, 17 Apr 2024 11:39:19 +0200 Subject: [PATCH] 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 --- boards/nordic/nrf54l15pdk/board.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/nordic/nrf54l15pdk/board.cmake b/boards/nordic/nrf54l15pdk/board.cmake index 1444a223151..0eea21c3d14 100644 --- a/boards/nordic/nrf54l15pdk/board.cmake +++ b/boards/nordic/nrf54l15pdk/board.cmake @@ -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()