Replace with 'if(' and 'else(' per the cmake style guidelines.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
21 lines
654 B
CMake
21 lines
654 B
CMake
# Copyright (c) 2024 Nordic Semiconductor ASA
|
|
# Copyright (c) 2025 Raytac Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(CONFIG_SOC_NRF54L15_CPUAPP)
|
|
board_runner_args(jlink "--device=nRF54L15_M33" "--speed=4000")
|
|
elseif(CONFIG_SOC_NRF54L15_CPUFLPR)
|
|
board_runner_args(jlink "--device=nRF54L15_RV32")
|
|
endif()
|
|
|
|
if(BOARD_RAYTAC_AN54LQ_DB_15_NRF54L15_CPUAPP_NS)
|
|
set(TFM_PUBLIC_KEY_FORMAT "full")
|
|
endif()
|
|
|
|
if(CONFIG_TFM_FLASH_MERGED_BINARY)
|
|
set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex)
|
|
endif()
|
|
|
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|