1# SPDX-License-Identifier: Apache-2.0 2 3if(CONFIG_BOARD_CTCC_NRF52840) 4 board_runner_args(nrfjprog "--softreset") 5 board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000") 6 include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) 7 include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) 8elseif(CONFIG_BOARD_CTCC_NRF9161 OR CONFIG_BOARD_CTCC_NRF9161_NS) 9 if(CONFIG_BOARD_CTCC_NRF9161_NS) 10 set(TFM_PUBLIC_KEY_FORMAT "full") 11 endif() 12 if(CONFIG_TFM_FLASH_MERGED_BINARY) 13 set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex) 14 endif() 15 board_runner_args(nrfjprog "--softreset") 16 board_runner_args(pyocd "--target=nrf9161" "--frequency=4000000") 17 include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) 18 include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) 19endif() 20