From 8f1d32bb2d4ee4a6bcfbb58b6bd359882bd984dd Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 10 Jul 2020 12:01:33 +0200 Subject: [PATCH] boards/common/nrf52: add note about ST-LINKV2 as programmer --- boards/common/nrf52/doc.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/boards/common/nrf52/doc.txt b/boards/common/nrf52/doc.txt index 332c538f4b..f6625c2fb1 100644 --- a/boards/common/nrf52/doc.txt +++ b/boards/common/nrf52/doc.txt @@ -25,4 +25,10 @@ To flash the board with OpenOCD, use the `PROGRAMMER` variable: PROGRAMMER=openocd make BOARD= -C examples/hello-world flash ``` +It is also possible to use the SWD interface of a ST-LINK/V2 in-circuit +debugger/programmer with OpenOCD to flash a nrf52 board: +``` + PROGRAMMER=openocd DEBUG_ADAPTER=stlink make BOARD= -C examples/hello-world flash +``` + */