17 lines
373 B
CMake
17 lines
373 B
CMake
set_ifndef(OPENSDA_FW daplink)
|
|
|
|
if(OPENSDA_FW STREQUAL jlink)
|
|
set_ifndef(BOARD_DEBUG_RUNNER jlink)
|
|
elseif(OPENSDA_FW STREQUAL daplink)
|
|
set_ifndef(BOARD_DEBUG_RUNNER pyocd)
|
|
set_ifndef(BOARD_FLASH_RUNNER pyocd)
|
|
endif()
|
|
|
|
set(JLINK_DEVICE MKL25Z128xxx4)
|
|
set(PYOCD_TARGET kl25z)
|
|
|
|
set_property(GLOBAL APPEND PROPERTY FLASH_SCRIPT_ENV_VARS
|
|
JLINK_DEVICE
|
|
PYOCD_TARGET
|
|
)
|