You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2017/05/12 21:42:45 UTC

[1/2] incubator-mynewt-core git commit: Add back the 2nd explict COMSPEC /C. Simon's msys2 environment doesn't work without it. My msys2 works with and without the 2nd explicit COMPSEC /C/ Looks like the only fix that was needed is to move the opening "

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/master 5ac00053b -> afc404f83


Add back the 2nd explict COMSPEC /C.
Simon's msys2 environment doesn't work without it.
My msys2 works with and without the 2nd explicit COMPSEC /C/
Looks like the only fix that was needed is to move the opening "


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/39212f45
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/39212f45
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/39212f45

Branch: refs/heads/master
Commit: 39212f4592d5377f2a163e886e5aa506e6df5512
Parents: cb23f34
Author: cwanda <wa...@happycity.com>
Authored: Tue May 9 15:49:12 2017 -0700
Committer: cwanda <wa...@happycity.com>
Committed: Tue May 9 16:05:25 2017 -0700

----------------------------------------------------------------------
 hw/scripts/jlink.sh   | 4 ++--
 hw/scripts/openocd.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/39212f45/hw/scripts/jlink.sh
----------------------------------------------------------------------
diff --git a/hw/scripts/jlink.sh b/hw/scripts/jlink.sh
index e07049b..962aa54 100644
--- a/hw/scripts/jlink.sh
+++ b/hw/scripts/jlink.sh
@@ -125,7 +125,7 @@ jlink_debug() {
             # Launch jlink server in a separate command interpreter, to make
             # sure it doesn't get killed by Ctrl-C signal from bash.
             #
-            $COMSPEC /C "start $JLINK_GDB_SERVER $EXTRA_JTAG_CMD -device $JLINK_DEV -speed 4000 -if SWD -port 3333 -singlerun"
+            $COMSPEC /C "start $COMSPEC /C $JLINK_GDB_SERVER $EXTRA_JTAG_CMD -device $JLINK_DEV -speed 4000 -if SWD -port 3333 -singlerun"
         else
             #
             # Block Ctrl-C from getting passed to jlink server.
@@ -145,7 +145,7 @@ jlink_debug() {
 
 	if [ $WINDOWS -eq 1 ]; then
 	    FILE_NAME=`echo $FILE_NAME | sed 's/\//\\\\/g'`
-	    $COMSPEC /C "start arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME"
+	    $COMSPEC /C "start $COMSPEC /C arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME"
 	else
             arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME
             rm $GDB_CMD_FILE

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/39212f45/hw/scripts/openocd.sh
----------------------------------------------------------------------
diff --git a/hw/scripts/openocd.sh b/hw/scripts/openocd.sh
index 50ac6ab..2400cb4 100644
--- a/hw/scripts/openocd.sh
+++ b/hw/scripts/openocd.sh
@@ -85,7 +85,7 @@ openocd_debug () {
             #
 
             CFG=`echo $CFG | sed 's/\//\\\\/g'`
-            $COMSPEC /C "start openocd -l openocd.log $CFG -f $OCD_CMD_FILE -c init -c halt"
+            $COMSPEC /C "start $COMSPEC /C openocd -l openocd.log $CFG -f $OCD_CMD_FILE -c init -c halt"
         else
             #
             # Block Ctrl-C from getting passed to openocd.
@@ -104,7 +104,7 @@ openocd_debug () {
 	echo "FILENAME" $FILE_NAME >>out
 	if [ $WINDOWS -eq 1 ]; then
 	    FILE_NAME=`echo $FILE_NAME | sed 's/\//\\\\/g'`
-            $COMSPEC /C "start arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME"
+            $COMSPEC /C "start $COMSPEC /C arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME"
 	else
             arm-none-eabi-gdb -x $GDB_CMD_FILE $FILE_NAME
             rm $GDB_CMD_FILE


[2/2] incubator-mynewt-core git commit: Merge branch 'windows_debug_script' of https://github.com/cwanda/incubator-mynewt-core

Posted by ad...@apache.org.
Merge branch 'windows_debug_script' of https://github.com/cwanda/incubator-mynewt-core

This closes #268.


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/afc404f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/afc404f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/afc404f8

Branch: refs/heads/master
Commit: afc404f836bf9935386d96c1ba06ccb27dd7f24e
Parents: 5ac0005 39212f4
Author: aditihilbert <ad...@runtime.io>
Authored: Fri May 12 14:36:14 2017 -0700
Committer: aditihilbert <ad...@runtime.io>
Committed: Fri May 12 14:36:14 2017 -0700

----------------------------------------------------------------------
 hw/scripts/jlink.sh   | 4 ++--
 hw/scripts/openocd.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------