1# Copyright (c) 2024 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4if(CONFIG_SOC_NRF54L05_CPUAPP OR CONFIG_SOC_NRF54L10_CPUAPP OR 5 CONFIG_SOC_NRF54L15_CPUAPP) 6 board_runner_args(jlink "--device=cortex-m33" "--speed=4000") 7elseif(CONFIG_SOC_NRF54L05_CPUFLPR OR CONFIG_SOC_NRF54L10_CPUFLPR OR 8 CONFIG_SOC_NRF54L15_CPUFLPR) 9 set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54l_05_10_15_cpuflpr.JLinkScript) 10 board_runner_args(jlink "--device=RISC-V" "--speed=4000" "-if SW" "--tool-opt=-jlinkscriptfile ${JLINKSCRIPTFILE}") 11endif() 12 13include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) 14include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) 15