commit | ced946c42bc9c4451cf6024c85a8d5fb83df4946 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Wed Aug 21 10:13:08 2019 -0700 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Wed Aug 21 14:30:25 2019 -0700 |
tree | 70369f4b0df759f179c25b6634c3e999de2ac159 | |
parent | 0bf8c0144844b0892fc6491e97c446e5652438f1 [diff] |
README: Indicate that GO111MODULE must be set Now that newtmgr uses modules instead of a vendor directory, module support needs to be enabled to build newtmgr. This setting is only necessary for older versions of go. In newer versions, the setting is enabled by default (outside of the GOPATH). Maybe we can revert this change once modules become fully mainstream.
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. The newtmgr tool documentation can be found under /docs which are published at http://mynewt.apache.org/latest/os/modules/devmgmt/newtmgr.html
Build the newtmgr tool as follows:
apache-mynewt-newtmgr-1.3.0
directory to $GOPATH/src/mynewt.apache.org/newtmgr
cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
GO111MODULE=on go build