2017-08-03 21:35:35 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2017, NXP
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
set_ifndef(LPCLINK_FW jlink)
|
|
|
|
|
|
|
|
if(LPCLINK_FW STREQUAL jlink)
|
|
|
|
set_ifndef(BOARD_DEBUG_RUNNER jlink)
|
2018-01-26 04:09:36 +08:00
|
|
|
set_ifndef(BOARD_FLASH_RUNNER jlink)
|
2017-08-03 21:35:35 +08:00
|
|
|
endif()
|
|
|
|
|
2018-10-29 05:25:39 +08:00
|
|
|
if(CONFIG_BOARD_LPCXPRESSO54114_M4)
|
2017-08-03 21:35:35 +08:00
|
|
|
board_runner_args(jlink "--device=LPC54114J256_M4")
|
2018-10-29 05:25:39 +08:00
|
|
|
elseif(CONFIG_BOARD_LPCXPRESSO54114_M0)
|
|
|
|
board_runner_args(jlink "--device=LPC54114J256_M0")
|
|
|
|
endif()
|
2017-08-03 21:35:35 +08:00
|
|
|
|
|
|
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|