nrfjprog runner not supported (jlink should be used)

Windows 11, NCS v2.3.0

I have an application that builds but doesn't flash.

Executing task: nRF Connect: Flash: BikeControlBoard/build (active)

Flashing build to 683684592
west flash -d c:\Users\dougl\git\nRF52\app\BikeControlBoard\build --skip-rebuild -r nrfjprog --dev-id 683684592 --erase

-- west flash: using runner nrfjprog
FATAL ERROR: board adafruit_feather_nrf52840 does not support runner nrfjprog
To fix, configure this runner in C:\ncs\v2.3.0\zephyr\boards\arm\adafruit_feather_nrf52840\board.cmake and rebuild.

Here is the file (C:\ncs\v2.3.0\zephyr\boards\arm\adafruit_feather_nrf52840\board.cmake)

board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
board_runner_args(blackmagicprobe "--gdb-serial=/dev/ttyBmpGdb")
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
What change should be made?
Also I just want to use jlink as the runner.
If I run the flash command by hand, which I don't want to do under VSCode, it works:
west flash -d c:\Users\dougl\git\nRF52\app\BikeControlBoard\build --skip-rebuild -r jlink --dev-id 683684592 --erase
How do I get VSCode to use the jlink runner?
Thanks.
Related