mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-18 09:21:56 +00:00
Add support for the NXP TWR-KE18F development board. This board feautures an NXP MKE18F16 MCU, a selection of user LEDs and push-buttons, potentiometer, thermistor, CAN interface, and FlexIO header. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
19 lines
568 B
CMake
19 lines
568 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set_ifndef(OPENSDA_FW daplink)
|
|
|
|
if(OPENSDA_FW STREQUAL jlink)
|
|
set_ifndef(BOARD_DEBUG_RUNNER jlink)
|
|
set_ifndef(BOARD_FLASH_RUNNER jlink)
|
|
elseif(OPENSDA_FW STREQUAL daplink)
|
|
set_ifndef(BOARD_DEBUG_RUNNER pyocd)
|
|
set_ifndef(BOARD_FLASH_RUNNER pyocd)
|
|
endif()
|
|
|
|
board_runner_args(jlink "--device=MKE18F512xxx16")
|
|
board_runner_args(pyocd "--target=ke18f16")
|
|
|
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|