1# Copyright (c) 2019 Nordic Semiconductor ASA 2# Copyright (c) 2021 Laird Connectivity 3# SPDX-License-Identifier: Apache-2.0 4 5if(CONFIG_BOARD_BL5340_DVK_NRF5340_CPUAPP_NS) 6 set(TFM_PUBLIC_KEY_FORMAT "full") 7endif() 8 9if(CONFIG_BOARD_BL5340_DVK_NRF5340_CPUAPP OR CONFIG_BOARD_BL5340_DVK_NRF5340_CPUAPP_NS) 10 board_runner_args(jlink "--device=nrf5340_xxaa_app" "--speed=4000") 11elseif(BOARD_BL5340_DVK_NRF5340_CPUNET) 12 board_runner_args(jlink "--device=nrf5340_xxaa_net" "--speed=4000") 13endif() 14 15if(CONFIG_TFM_FLASH_MERGED_BINARY) 16 set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex) 17endif() 18 19include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) 20include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) 21include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) 22