2017-10-27 21:43:34 +08:00
|
|
|
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()
|
|
|
|
|
2017-11-10 18:37:07 +08:00
|
|
|
set(JLINK_DEVICE MKW40Z160xxx4)
|
|
|
|
set(PYOCD_TARGET kw40z4)
|
|
|
|
|
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
|
|
|
)
|