Bring in changes from develop branch. Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt
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/d487ce62 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/d487ce62 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/d487ce62 Branch: refs/heads/master Commit: d487ce62baeab4b19dbce077f24923abaafd3adf Parents: 16fb790 1fb9697 Author: Marko Kiiskila <[email protected]> Authored: Mon Mar 6 12:57:30 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Mon Mar 6 12:57:30 2017 -0800 ---------------------------------------------------------------------- NOTICE | 2 +- newt/builder/build.go | 393 ++++---- newt/builder/buildpackage.go | 147 +-- newt/builder/buildutil.go | 60 +- newt/builder/depgraph.go | 174 ++++ newt/builder/library.go | 3 +- newt/builder/load.go | 49 +- newt/builder/paths.go | 68 +- newt/builder/selftest.go | 174 ++++ newt/builder/size.go | 239 ++++- newt/builder/size_report.go | 332 +++++++ newt/builder/symbol_tree.go | 195 ++++ newt/builder/targetbuild.go | 387 +++++--- newt/cli/build_cmds.go | 141 +-- newt/cli/complete_cmd.go | 97 +- newt/cli/image_cmds.go | 23 +- newt/cli/mfg_cmds.go | 50 +- newt/cli/pkg_cmds.go | 218 +++- newt/cli/project_cmds.go | 32 +- newt/cli/run_cmds.go | 87 +- newt/cli/target_cmds.go | 407 ++++++-- newt/cli/util.go | 141 ++- newt/cli/vals_cmds.go | 2 +- newt/cli/vars.go | 3 - newt/downloader/downloader.go | 36 +- newt/image/image.go | 336 ++++++- newt/interfaces/interfaces.go | 1 + newt/mfg/create.go | 2 + newt/mfg/mfg.go | 7 + newt/newt.go | 28 +- newt/newtutil/newtutil.go | 64 +- newt/pkg/bsp_package.go | 9 +- newt/pkg/localpackage.go | 112 +-- newt/pkg/package.go | 27 +- newt/pkg/packageutil.go | 2 +- newt/project/project.go | 31 +- newt/repo/repo.go | 118 ++- newt/resolve/resolve.go | 466 +++++---- newt/resolve/resolveutil.go | 92 ++ newt/syscfg/syscfg.go | 176 +++- newt/sysinit/sysinit.go | 53 +- newt/toolchain/compiler.go | 665 ++++++++----- newt/toolchain/deps.go | 35 +- newt/vendor/mynewt.apache.org/newt/util/util.go | 120 ++- newtmgr/Godeps/Godeps.json | 32 +- newtmgr/cli/commands.go | 26 +- newtmgr/cli/config.go | 7 +- newtmgr/cli/connprofile.go | 21 +- newtmgr/cli/crash.go | 4 +- newtmgr/cli/datetime.go | 34 +- newtmgr/cli/echo.go | 4 +- newtmgr/cli/fs.go | 216 ++++ newtmgr/cli/image.go | 223 +---- newtmgr/cli/logs.go | 46 +- newtmgr/cli/mpstats.go | 13 +- newtmgr/cli/reset.go | 4 +- newtmgr/cli/runtest.go | 118 ++- newtmgr/cli/stats.go | 10 +- newtmgr/cli/taskstats.go | 6 +- newtmgr/protocol/coreerase.go | 2 +- newtmgr/protocol/corelist.go | 2 +- newtmgr/protocol/coreload.go | 2 +- newtmgr/protocol/datetime.go | 2 +- newtmgr/protocol/defs.go | 3 +- newtmgr/protocol/fsdefs.go | 24 + newtmgr/protocol/fsdownload.go | 102 ++ newtmgr/protocol/fsupload.go | 104 ++ newtmgr/protocol/imagedefs.go | 9 +- newtmgr/protocol/imagefiledownload.go | 102 -- newtmgr/protocol/imagefileupload.go | 104 -- newtmgr/protocol/imagestate.go | 5 +- newtmgr/protocol/imageupload.go | 2 +- newtmgr/protocol/nmgr.go | 2 +- newtmgr/protocol/runtest.go | 122 ++- newtmgr/transport/connble.go | 10 +- newtmgr/transport/connble_darwin.go | 2 +- newtmgr/transport/connble_linux.go | 2 +- .../vendor/github.com/runtimeco/gatt/.gitignore | 3 + .../vendor/github.com/runtimeco/gatt/LICENSE.md | 27 + newtmgr/vendor/github.com/runtimeco/gatt/adv.go | 234 +++++ .../vendor/github.com/runtimeco/gatt/attr.go | 160 +++ .../vendor/github.com/runtimeco/gatt/central.go | 152 +++ .../github.com/runtimeco/gatt/central_darwin.go | 70 ++ .../github.com/runtimeco/gatt/central_linux.go | 446 +++++++++ .../vendor/github.com/runtimeco/gatt/common.go | 399 ++++++++ .../vendor/github.com/runtimeco/gatt/const.go | 153 +++ .../vendor/github.com/runtimeco/gatt/device.go | 161 +++ .../github.com/runtimeco/gatt/device_darwin.go | 513 ++++++++++ .../github.com/runtimeco/gatt/device_linux.go | 240 +++++ newtmgr/vendor/github.com/runtimeco/gatt/doc.go | 88 ++ .../github.com/runtimeco/gatt/known_uuid.go | 122 +++ .../runtimeco/gatt/l2cap_writer_linux.go | 156 +++ .../github.com/runtimeco/gatt/linux/cmd/cmd.go | 995 +++++++++++++++++++ .../github.com/runtimeco/gatt/linux/const.go | 21 + .../github.com/runtimeco/gatt/linux/device.go | 109 ++ .../github.com/runtimeco/gatt/linux/devices.go | 58 ++ .../github.com/runtimeco/gatt/linux/doc.go | 5 + .../github.com/runtimeco/gatt/linux/evt/evt.go | 382 +++++++ .../runtimeco/gatt/linux/gioctl/LICENSE.md | 22 + .../runtimeco/gatt/linux/gioctl/README.md | 12 + .../runtimeco/gatt/linux/gioctl/ioctl.go | 57 ++ .../github.com/runtimeco/gatt/linux/hci.go | 400 ++++++++ .../github.com/runtimeco/gatt/linux/l2cap.go | 174 ++++ .../runtimeco/gatt/linux/socket/asm.s | 8 + .../runtimeco/gatt/linux/socket/asm_linux_386.s | 33 + .../runtimeco/gatt/linux/socket/socket.go | 121 +++ .../gatt/linux/socket/socket_common.go | 24 + .../gatt/linux/socket/socket_darwin.go | 6 + .../runtimeco/gatt/linux/socket/socket_linux.go | 7 + .../gatt/linux/socket/socket_linux_386.go | 31 + .../runtimeco/gatt/linux/util/util.go | 16 + .../github.com/runtimeco/gatt/option_darwin.go | 15 + .../github.com/runtimeco/gatt/option_linux.go | 87 ++ .../github.com/runtimeco/gatt/peripheral.go | 102 ++ .../runtimeco/gatt/peripheral_darwin.go | 277 ++++++ .../runtimeco/gatt/peripheral_linux.go | 448 +++++++++ .../vendor/github.com/runtimeco/gatt/readme.md | 115 +++ .../vendor/github.com/runtimeco/gatt/uuid.go | 86 ++ .../github.com/runtimeco/gatt/xpc/LICENSE | 21 + .../vendor/github.com/runtimeco/gatt/xpc/doc.go | 8 + .../github.com/runtimeco/gatt/xpc/xpc_darwin.go | 350 +++++++ .../runtimeco/gatt/xpc/xpc_wrapper_darwin.c | 85 ++ .../runtimeco/gatt/xpc/xpc_wrapper_darwin.h | 32 + .../github.com/runtimeinc/gatt/.gitignore | 3 - .../github.com/runtimeinc/gatt/LICENSE.md | 27 - .../vendor/github.com/runtimeinc/gatt/adv.go | 234 ----- .../vendor/github.com/runtimeinc/gatt/attr.go | 160 --- .../github.com/runtimeinc/gatt/central.go | 152 --- .../runtimeinc/gatt/central_darwin.go | 70 -- .../github.com/runtimeinc/gatt/central_linux.go | 446 --------- .../vendor/github.com/runtimeinc/gatt/common.go | 399 -------- .../vendor/github.com/runtimeinc/gatt/const.go | 153 --- .../vendor/github.com/runtimeinc/gatt/device.go | 161 --- .../github.com/runtimeinc/gatt/device_darwin.go | 513 ---------- .../github.com/runtimeinc/gatt/device_linux.go | 240 ----- .../vendor/github.com/runtimeinc/gatt/doc.go | 88 -- .../github.com/runtimeinc/gatt/known_uuid.go | 122 --- .../runtimeinc/gatt/l2cap_writer_linux.go | 156 --- .../github.com/runtimeinc/gatt/linux/cmd/cmd.go | 995 ------------------- .../github.com/runtimeinc/gatt/linux/const.go | 21 - .../github.com/runtimeinc/gatt/linux/device.go | 109 -- .../github.com/runtimeinc/gatt/linux/devices.go | 58 -- .../github.com/runtimeinc/gatt/linux/doc.go | 5 - .../github.com/runtimeinc/gatt/linux/evt/evt.go | 382 ------- .../runtimeinc/gatt/linux/gioctl/LICENSE.md | 22 - .../runtimeinc/gatt/linux/gioctl/README.md | 12 - .../runtimeinc/gatt/linux/gioctl/ioctl.go | 57 -- .../github.com/runtimeinc/gatt/linux/hci.go | 400 -------- .../github.com/runtimeinc/gatt/linux/l2cap.go | 174 ---- .../runtimeinc/gatt/linux/socket/asm.s | 8 - .../gatt/linux/socket/asm_linux_386.s | 33 - .../runtimeinc/gatt/linux/socket/socket.go | 121 --- .../gatt/linux/socket/socket_common.go | 24 - .../gatt/linux/socket/socket_darwin.go | 6 - .../gatt/linux/socket/socket_linux.go | 7 - .../gatt/linux/socket/socket_linux_386.go | 31 - .../runtimeinc/gatt/linux/util/util.go | 16 - .../github.com/runtimeinc/gatt/option_darwin.go | 15 - .../github.com/runtimeinc/gatt/option_linux.go | 87 -- .../github.com/runtimeinc/gatt/peripheral.go | 102 -- .../runtimeinc/gatt/peripheral_darwin.go | 277 ------ .../runtimeinc/gatt/peripheral_linux.go | 448 --------- .../vendor/github.com/runtimeinc/gatt/readme.md | 115 --- .../vendor/github.com/runtimeinc/gatt/uuid.go | 86 -- .../github.com/runtimeinc/gatt/xpc/LICENSE | 21 - .../github.com/runtimeinc/gatt/xpc/doc.go | 8 - .../runtimeinc/gatt/xpc/xpc_darwin.go | 350 ------- .../runtimeinc/gatt/xpc/xpc_wrapper_darwin.c | 85 -- .../runtimeinc/gatt/xpc/xpc_wrapper_darwin.h | 32 - .../vendor/mynewt.apache.org/newt/util/util.go | 38 - util/util.go | 120 ++- 171 files changed, 12201 insertions(+), 9188 deletions(-) ----------------------------------------------------------------------
