(in Vagrant)
- Delete any contents in your
/vagrant/ext/ncs
directory $ cd /vagrant/ext/ncs
$ west init -m https://github.com/jlwatson/sdk-nrf
$ west update
$ west zephyr-export
- Install the zephyr dependencies (just to make sure)
pip3 install -r zephyr/scripts/requirements.txt
pip3 install -r nrf/scripts/requirements.txt
pip3 install -r bootloader/mcuboot/scripts/requirements.txt
- Update your
~/.bashrc
with:
export ZEPHYR_BASE=/vagrant/ext/ncs/zephyr
source $(ZEPHYR_BASE)/zephyr-env.sh
- Ensure that your app Makefile sets
BOARD = nrf9160
and runmake clean
before building.