[riot-notifications] [RIOT-OS/RIOT] boards/hifive1: fix hifive1 reset (#11040)

Kaspar Schleiser notifications at github.com
Wed Feb 20 23:50:01 CET 2019


### Contribution description

```pm_reset()``` was not implemented, and ```make reset``` was non-functional on hifive1.
This PR fixes both.

Without this PR, "make test" is broken.

### Testing procedure

1. flash "tests/shell", try "reboot" with and without this PR
2. try "make term" in one terminal, then "make reset" in another
3. flash "tests/shell", run "make test"

### Issues/PRs references

none
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * dist/tools/openocd: make "reset run" command configurable
  * boards/hifive1: add and use custom openocd reset command
  * cpu/fe310: implement pm_reset() using watchdog

-- File Changes --

    M boards/hifive1/Makefile.include (1)
    M boards/hifive1/dist/openocd.cfg (7)
    M cpu/fe310/periph/pm.c (11)
    M dist/tools/openocd/openocd.sh (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11040.patch
https://github.com/RIOT-OS/RIOT/pull/11040.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/11040
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190220/549f48a2/attachment-0001.html>


More information about the notifications mailing list