Repair nRF Connect SDK?

I was trying various things to get my application to build when, suddenly, nRF Connect began giving me this error when trying to create a new build configuration. Here's the error I get when trying to create a build config for hello_world and my nRF52 DK board:

Executing task: nRF Connect: Generate config nrf52dk_nrf52832 for c:\Windows\System32\zephyr\samples\hello_world 

Building hello_world
west build --build-dir c:\Windows\System32\zephyr\samples\hello_world\build c:\Windows\System32\zephyr\samples\hello_world --pristine --board nrf52dk_nrf52832 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DBOARD_ROOT:STRING="c:/Nordic/VS_Code/CM_serial"

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'm guessing my nRF Connect SDK corrupted itself. How can I repair it?

I have a little more information about how I broke the SDK. I tried to create a build configuration for my custom board and the hello_world app. After that, nothing works with the SDK.

I've attached the board files that, when combined with the hello_world app, break the SDK...4382.boards.zip

I'm using Windows 11 and here's the about info from nRF Connect:

Version: 1.74.3 (user setup)
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:59:02.252Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

Parents Reply Children
Related