From: junmin kim Date: Wed, 29 Mar 2017 12:13:33 +0000 (-0700) Subject: Return exit code 0 after using openocd script X-Git-Tag: 1.1_Public_Release~641^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa1ab7f1d2ede9a83d1f2d06a46b4988bbc470e4;p=rtos%2Ftinyara.git Return exit code 0 after using openocd script Shutdown after catching halt --- diff --git a/build/configs/sidk_s5jt200/openocd/s5jt200_silicon_evt0_fusing_flash_all.cfg b/build/configs/sidk_s5jt200/openocd/s5jt200_silicon_evt0_fusing_flash_all.cfg index fccbadd..baa2f4d 100644 --- a/build/configs/sidk_s5jt200/openocd/s5jt200_silicon_evt0_fusing_flash_all.cfg +++ b/build/configs/sidk_s5jt200/openocd/s5jt200_silicon_evt0_fusing_flash_all.cfg @@ -65,7 +65,6 @@ proc jtag_init {} { #set scriptDir [ getScriptDirectory ] fusing_image_all reset - shutdown } proc s5j_set_ft2232_serial { arg1 } { @@ -304,3 +303,11 @@ proc fusing_image_wlan {} { load_image $WLAN_PATH 0x60304000 echo "Done" } + +proc s5jt200_shutdown {} { + init + catch {halt} + echo "s5jt200_shutdown" + shutdown +} +s5jt200_shutdown