nRF Connect for VS Code refuses to start debug on my custom board

Hi,

Working on a new project, custom board, using an nRF52840. Wrote my own DTS and all that. Program works as intended, but the nRF Connect for VS Code plugin refuses to start debugging.

Error-message is:

Unknown device type "nrf52840". Only Nordic devices are supported.

I can start ozone manually and load the .elf, but doing this from vscode would be.. nice?

Is this not supported on a custom (Nordic SOC-based) board, or is there something missing in my custom board definition, or project setup? How does the vscode plugin determine the device type?

Thanks,

Related