zephyr/boards/arm/hexiwear_kw40z/board.cmake

17 lines
363 B
CMake
Raw Normal View History

set_ifndef(OPENSDA_FW jlink)
if(OPENSDA_FW STREQUAL jlink)
set_ifndef(DEBUG_SCRIPT jlink.sh)
elseif(OPENSDA_FW STREQUAL daplink)
set_ifndef(DEBUG_SCRIPT pyocd.sh)
set_ifndef(FLASH_SCRIPT pyocd.sh)
endif()
set(JLINK_DEVICE MKW40Z160xxx4)
set(PYOCD_TARGET kw40z4)
set_property(GLOBAL APPEND PROPERTY FLASH_SCRIPT_ENV_VARS
JLINK_DEVICE
PYOCD_TARGET
)