commit | bc7c0cd86529fb1ce6c046e13fad9152b337a982 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Fri Aug 11 11:48:37 2017 -0700 |
committer | Christopher Collins <ccollins@apache.org> | Fri Aug 11 11:48:37 2017 -0700 |
tree | 3e473faf005dd17026cf0c93e456e0ba985a5bc7 | |
parent | 393aef8eea9925b5b2c08922a143ca07e92ac7b3 [diff] |
Revert "uncomment accidental comment on unix/mac build" This reverts commit da66ea8746c134042dbcf2b1a2747d4f9e03d6d6. I accidentally pushed this commit to the 1_1_0_dev branch.
Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS. It uses a connection profile to establish a connection with a device and sends command requests to the device. Thew newtmgr tool is documented at http://mynewt.apache.org/latest/newtmgr/overview/
newtmgr is vendored using the godep tool (https://github.com/tools/godep). Some dependencies are intentially excluded from the vendor directory. The reason these are not vendored is to prevent errors during elicited by go get mynewt.apache.org/newtmgr/...
on linux. These two dependencies contain OS-specific code, something go get
seems to trip over when it is vendored.
To build newtmgr from source, you will need to manually acquire the missing dependencies. OS-specific instructions are below:
apache-mynewt-newtmgr-1.1.0
directory to $GOPATH/src/mynewt.apache.org/newtmgr
cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
go get github.com/currantlabs/ble github.com/mgutz/logxi/v1 golang.org/x/sys/unix
go build
apache-mynewt-newtmgr-1.1.0
directory to $GOPATH/src/mynewt.apache.org/newtmgr
cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
go get github.com/currantlabs/ble github.com/mgutz/logxi/v1 github.com/raff/goble/xpc
go build