zephyr/boards/cypress/cy8ckit_062_ble/board.cmake

16 lines
463 B
CMake

#
# Copyright (c) 2018, Cypress
# Copyright (c) 2020, ATL Electronics
#
# SPDX-License-Identifier: Apache-2.0
#
if(CONFIG_BOARD_CY8CKIT_062_BLE_CY8C6347_M0)
board_runner_args(jlink "--device=CY8C6xx7_CM0p" "--speed=2000")
elseif(CONFIG_BOARD_CY8CKIT_062_BLE_CY8C6347_M4)
board_runner_args(jlink "--device=CY8C6xx7_CM4" "--speed=2000")
endif()
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)