zephyr/boards/arm/hexiwear_k64/board.cmake

14 lines
327 B
CMake
Raw Normal View History

set_ifndef(OPENSDA_FW daplink)
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_property(GLOBAL APPEND PROPERTY FLASH_SCRIPT_ENV_VARS
JLINK_DEVICE=MK64FN1M0xxx12
PYOCD_TARGET=k64f
)