[riot-notifications] [RIOT-OS/RIOT] boards/common/nrf52: Add OpenOCD support (#10890)

Marian Buschsieweke notifications at github.com
Mon Jan 28 16:45:38 CET 2019


### Contribution description
This PR allows flashing & debugging nRF52 based boards using (the development version of) OpenOCD.

### Testing procedure
Check if flashing and debugging with OpenOCD works on your favorite nRF52 based board using:

```
make PROGRAMMER=openocd BOARD=<nRF52_BOARD> flash
make PROGRAMMER=openocd BOARD=<nRF52_BOARD> debug
```

**Beware:** The most recent stable version of OpenOCD will fail with "invalid subcommand" while flashing. So you'll need a development version of OpenOCD to use it.

State of testing:

 - [ ] acd52832
 - [ ] nrf52840-mdk
 - [ ] nrf52840dk
 - [ ] nrf52dk
 - [ ] ruuvitag
 - [ ] thingy52

### Issues/PRs references
Removes OpenOCD config of https://github.com/RIOT-OS/RIOT/pull/9833 in favor of a central config.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/10890

-- Commit Summary --

  * boards/common/nrf52: Added OpenOCD support
  * boards/common/nrf52: Documented flashing
  * boards/nrf52840-mdk: Cleanup of OpenOCD support

-- File Changes --

    M boards/common/nrf52/Makefile.include (6)
    R boards/common/nrf52/dist/openocd.cfg (1)
    M boards/common/nrf52/include/board_common.h (24)
    M boards/nrf52840-mdk/Makefile.include (1)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10890.patch
https://github.com/RIOT-OS/RIOT/pull/10890.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10890
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190128/e16dc83a/attachment.html>


More information about the notifications mailing list