zephyr/boards/nordic/nrf54l15pdk/board.cmake
Marcin Szymczyk c26bc94f19 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>
2024-04-19 16:55:28 +00:00

13 lines
452 B
CMake

# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if (CONFIG_SOC_NRF54L15_ENGA_CPUAPP)
board_runner_args(jlink "--device=cortex-m33" "--speed=4000")
elseif (CONFIG_SOC_NRF54L15_ENGA_CPUFLPR)
board_runner_args(jlink "--speed=4000")
endif()
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)