You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/11/07 19:32:27 UTC

[1/2] incubator-mynewt-newt git commit: newtmgr; advertise wdog as a crash option.

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop 3bee26785 -> 517073668


newtmgr; advertise wdog as a crash option.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/22305a32
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/22305a32
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/22305a32

Branch: refs/heads/develop
Commit: 22305a3235e56cd95be2ae3e1bf358d4b7ee6e4e
Parents: 3bee267
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Nov 7 09:53:50 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Nov 7 09:53:50 2016 -0800

----------------------------------------------------------------------
 newtmgr/cli/crash.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/22305a32/newtmgr/cli/crash.go
----------------------------------------------------------------------
diff --git a/newtmgr/cli/crash.go b/newtmgr/cli/crash.go
index 9f8e6b2..9f740db 100644
--- a/newtmgr/cli/crash.go
+++ b/newtmgr/cli/crash.go
@@ -87,7 +87,7 @@ func crashCmd() *cobra.Command {
 	crashEx := "   newtmgr -c olimex crash div0\n"
 
 	crashCmd := &cobra.Command{
-		Use:     "crash [div0|jump0|ref0|assert]",
+		Use:     "crash [div0|jump0|ref0|assert|wdog]",
 		Short:   "Send crash command to remote endpoint using newtmgr",
 		Example: crashEx,
 		Run:     crashRunCmd,


[2/2] incubator-mynewt-newt git commit: newt; fix build of native targets

Posted by ma...@apache.org.
newt; fix build of native targets


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

Branch: refs/heads/develop
Commit: 517073668c573c62139c5b52fcd6a7d268e02b69
Parents: 22305a3
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Nov 7 11:32:05 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Nov 7 11:32:05 2016 -0800

----------------------------------------------------------------------
 newt/pkg/bsp_package.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/51707366/newt/pkg/bsp_package.go
----------------------------------------------------------------------
diff --git a/newt/pkg/bsp_package.go b/newt/pkg/bsp_package.go
index d89149b..c7bbdbb 100644
--- a/newt/pkg/bsp_package.go
+++ b/newt/pkg/bsp_package.go
@@ -47,7 +47,9 @@ func (bsp *BspPackage) resolvePathSetting(
 	features map[string]bool, key string) (string, error) {
 
 	outVal := newtutil.GetStringFeatures(bsp.BspV, features, key)
-
+	if outVal == "" {
+		return "", nil
+	}
 	proj := interfaces.GetProject()
 	path, err := proj.ResolvePath(bsp.BasePath(), outVal)
 	if err != nil {