Hi,
This is a repeat of case 279137 but I see no answer to that so here goes again...
I am building sample Zephyr applications in VS Code. Everything was working fine yesterday but today, after trying to upgrade to nRF Connect SDK 1.9.1, I am getting the error:
Fullscreen
1
2
3
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).
I have backed off to my prior version (1.8.0) but that no longer builds with the same error.
My environment is:
OS: Mac Big Sur (11.4)
Visual Studio Code v1.66 + nRF Extension pack
Application Type: Standalone
SDK Install dir: /opt/nordic/ncs/v1.8.0 (Installed via Toolchain Manager)
Zephyr install dir: /opt/nordic/ncs/v1.8.0/zephyr
Toolchain install dir: /opt/nordic/ncs/v1.8.0/zephyr/toolchain
Unix shell: bash
Environment variables:
Fullscreen
1
2
3
4
5
6
7
export PATH="/opt/nordic/ncs/v1.8.0/toolchain/bin:$PATH"
export ZEPHYR_BASE="/opt/nordic/ncs/v1.8.0/zephyr"
export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
export GNUARMEMB_TOOLCHAIN_PATH="/opt/nordic/ncs/v1.8.0/toolchain"
Support information:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"platform": {
"os": "darwin",
"osVersion": "Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64",
"osKernel": "20.5.0",
"vscode": "1.66.0",
"electron": "17.2.0",
"node": "v16.13.0"
},
"system": {
"date": "2022-04-06T20:18:59.754Z",
"vscodeRoot": "/Applications/Visual Studio Code.app/Contents/Resources/app",
"nrfConnectForDesktopInstalled": true,
"vscodeUptime": "01:03:49",
"osUptime": "03:00:46",
"cpu": {
"model": "Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz",
"speed": "2200 MHz",
"count": 4
},
"memory": {
Kind regards,
AC