Can't build example application in Visual Studio Code OSX

Hello,

I've installed nRF Connect for Desktop for Mac and from the UI using the Toolchain Manager I've installed nRF Connect SDK v1.8.0. After installing the extensions for Visual Studio Code and creating a new project based on Blinky, creating the build configuration I get the following error:

> Executing task: nRF Connect: Generate config nrf52840dk_nrf52840 for /Users/dev/Development/nordic/blinky <

Building blinky
west build --build-dir /Users/dev/Development/nordic/blinky/build /Users/dev/Development/nordic/blinky --pristine --board nrf52840dk_nrf52840 -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE"

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')
The terminal process failed to launch (exit code: 2).

Terminal will be reused by tasks, press any key to close it.

How do I fix this?

Thanks,

Andrea

Parents Reply Children
Related