1# SPDX-License-Identifier: Apache-2.0 2 3if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP_NS) 4 set(TFM_PUBLIC_KEY_FORMAT "full") 5endif() 6 7if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP OR CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP_NS) 8board_runner_args(jlink "--device=nrf5340_xxaa_app" "--speed=4000") 9endif() 10 11if(CONFIG_TFM_FLASH_MERGED_BINARY) 12 set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex) 13endif() 14 15if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUNET) 16board_runner_args(jlink "--device=nrf5340_xxaa_net" "--speed=4000") 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