This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Connect SDK Tutorial

I am using  nRF Connect SDK Tutorial - Part 1 | NCS v1.4.0.

I am using MacOS and nRF Connect SDK v1.6.1.

a. The JlinkExe executes but JLinkRTTClientExe doesn't show any message

b. the command $west build -b nrf5340dk_nrf5340_cpuapp_ns produces:

usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...

west: error: argument <command>: invalid choice: 'build' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

I don't know why west doesn't recognize its install directory, even though I have the following env variables set correctly

>echo $ZEPHYR_TOOLCHAIN_VARIANT  

gnuarmemb

>echo $GNUARMEMB_TOOLCHAIN_PATH  

/opt/nordic/ncs/v1.6.1/toolchain

I used $west init but compiler generates error message.

Does this tutorial actually work?

Related