zephyr/boards/arm/lpcxpresso54114/board.cmake
Maureen Helm f3da1d510c boards: lpcxpresso54114: Combine m4/m0 boards into one directory
Combines the lpcxpresso54114_m4 and lpcxpresso54114_m0 boards into one
directory containing both board configurations. This eliminates some
duplicate code and documentation, and better represents the actual
hardware.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2018-10-30 15:14:35 -05:00

21 lines
463 B
CMake

#
# 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)
set_ifndef(BOARD_FLASH_RUNNER jlink)
endif()
if(CONFIG_BOARD_LPCXPRESSO54114_M4)
board_runner_args(jlink "--device=LPC54114J256_M4")
elseif(CONFIG_BOARD_LPCXPRESSO54114_M0)
board_runner_args(jlink "--device=LPC54114J256_M0")
endif()
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)