This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Build process broken

I had a project set up and working with my nrf52840 dev kit.  It was using the 1.7.0 SDK and was based on the zephyr hello world sample.  Today when I open VS Code, the project no longer builds; it complains that it can't find Ninja.

So I deleted the project, uninstalled 1.7.0, installed 1.7.1, and created a new project based off of the zephyr hello world sample.  When I try to add a build configuration for nrf52840dk_nrf52840, it throws this error:

Building Hello
west build --build-dir c:\nRF\vsCode\Test\Hello\build c:\nRF\vsCode\Test\Hello --pristine --board nrf52840dk_nrf52840 --cmake-only -- -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 terminated with exit code: 2.

Related