Upon freshly installing NCS and VS Code (to solve an earlier problem), I get the following error when trying to create a build configuration for my project in VS Code:
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')
It appears as though west is not initialized properly in my project folder. I get the same error when trying to build via the command line using west build -b [custom board].
When trying the command west init in the project folder, I receive the error: FATAL ERROR: already initialized
It also notes where the ZEPHYR_BASE is set, which is the correct location of the zephyr folder in the sdk.
Any help would be greatly appreciated!