2017-10-27 21:43:34 +08:00
|
|
|
set_ifndef(OPENSDA_FW daplink)
|
|
|
|
|
|
|
|
if(OPENSDA_FW STREQUAL jlink)
|
2017-11-17 02:32:00 +08:00
|
|
|
set_ifndef(BOARD_DEBUG_RUNNER jlink)
|
2017-10-27 21:43:34 +08:00
|
|
|
elseif(OPENSDA_FW STREQUAL daplink)
|
2017-11-17 02:32:00 +08:00
|
|
|
set_ifndef(BOARD_DEBUG_RUNNER pyocd)
|
|
|
|
set_ifndef(BOARD_FLASH_RUNNER pyocd)
|
2017-10-27 21:43:34 +08:00
|
|
|
endif()
|
|
|
|
|
2017-11-10 18:37:07 +08:00
|
|
|
set(JLINK_DEVICE MKL25Z128xxx4)
|
|
|
|
set(PYOCD_TARGET kl25z)
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
set_property(GLOBAL APPEND PROPERTY FLASH_SCRIPT_ENV_VARS
|
2017-11-10 18:37:07 +08:00
|
|
|
JLINK_DEVICE
|
|
|
|
PYOCD_TARGET
|
2017-10-27 21:43:34 +08:00
|
|
|
)
|