Datasheet
Native Installation (OS X)
Mynewt relies on two command line utilities ( newt and newtmgr ), both of which are described elsewhere in this
learning guide, as well as the presence of an ARM cross-compiling toolchain ( arm-none-eabi-gcc , etc.).
Both of these need to be installed and available on your system to work with Mynewt projects.
Install newt and newtmgr Binaries
Binary versions of the command-line tools are available from Apache.
Before you start, you will need to add the JuulLabs-OSS/homebrew-mynewt 'tap' to brew, which can be done as
follows:
Install newt
The full setup guide is available here: https://mynewt.apache.org/latest/newt/install/newt_mac.html (https://adafru.it/Ert)
You can test the install with:
Install newtmgr
The full setup guide is available here:
https://mynewt.apache.org/latest/newtmgr/install/install_mac.html (https://adafru.it/ErK)
You can test the install with:
$ brew tap JuulLabs-OSS/mynewt
$ brew update
$ brew install mynewt-newt
==> Installing mynewt-newt from juullabs-oss/mynewt
==> Downloading https://github.com/juullabs-oss/binary-releases/raw/master/mynewt-newt-tools_1.5.0/mynewt-newt-1.5.0.sierra.bottle
==> Downloading from https://raw.githubusercontent.com/JuulLabs-OSS/binary-releases/master/mynewt-newt-tools_1.5.0/mynewt-newt-
######################################################################## 100.0%
==> Pouring mynewt-newt-1.5.0.sierra.bottle.tar.gz
/usr/local/Cellar/mynewt-newt/1.5.0: 3 files, 8.1MB
$newt version
Apache Newt version: 1.5.0
$ brew install mynewt-newtmgr
==> Installing mynewt-newtmgr from runtimeco/mynewt
==> Downloading https://github.com/runtimeco/binary-releases/raw/master/mynewt-newt-tools_1.5.0/mynewt-newtmgr-1.1.0.sierra.bottle.tar.gz
==> Downloading from https://raw.githubusercontent.com/runtimeco/binary-releases/master/mynewt-newt-tools_1.5.0/mynewt-newtmgr-1.5.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mynewt-newtmgr-1.5.0.sierra.bottle.tar.gz
/usr/local/Cellar/mynewt-newtmgr/1.5.0: 3 files, 17.8MB
© Adafruit Industries https://learn.adafruit.com/adafruit-nrf52-pro-feather Page 24 of 87










