Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 0d5cc344f -> 7bedd6c51


stm32f4 debug scripts; if reset is requested by newt, also halt the target.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/7bedd6c5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/7bedd6c5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/7bedd6c5

Branch: refs/heads/develop
Commit: 7bedd6c51cd64e9e04f88b9957e9ce849f6f55fb
Parents: 0d5cc34
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Oct 13 18:46:51 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Oct 13 18:46:51 2016 -0700

----------------------------------------------------------------------
 .../olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh | 2 +-
 hw/bsp/stm32f4discovery/stm32f4discovery_debug.sh                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/7bedd6c5/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh
----------------------------------------------------------------------
diff --git 
a/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh 
b/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh
index f02dfec..2190a9c 100755
--- a/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh
+++ b/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh
@@ -51,7 +51,7 @@ set +m
 echo "target remote localhost:3333" > $GDB_CMD_FILE
 # Whether target should be reset or not
 if [ ! -z "$RESET" ]; then
-    echo "mon reset" >> $GDB_CMD_FILE
+    echo "mon reset halt" >> $GDB_CMD_FILE
 fi
 
 arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/7bedd6c5/hw/bsp/stm32f4discovery/stm32f4discovery_debug.sh
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f4discovery/stm32f4discovery_debug.sh 
b/hw/bsp/stm32f4discovery/stm32f4discovery_debug.sh
index bcaf990..3775b06 100755
--- a/hw/bsp/stm32f4discovery/stm32f4discovery_debug.sh
+++ b/hw/bsp/stm32f4discovery/stm32f4discovery_debug.sh
@@ -50,7 +50,7 @@ set +m
 
 echo "target remote localhost:3333" > $GDB_CMD_FILE
 if [ ! -z "$RESET" ]; then
-    echo "mon reset" >> $GDB_CMD_FILE
+    echo "mon reset halt" >> $GDB_CMD_FILE
 fi
 
 arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME

Reply via email to