[riot-notifications] [RIOT-OS/RIOT] boards/cc1352(p)-launchpad: add SAUL configuration (#15872)

benpicco notifications at github.com
Wed Jan 27 19:58:33 CET 2021


### Contribution description

The board has two buttons and two LEDs, so export them via SAUL.
I noticed the definition of the first button was wrong (GPIO13 instead of GPIO15) this caused a hang on boot when configured as input.

### Testing procedure

The `saul` command is available in `examples/default` and can read / write LED & button states


### Issues/PRs references

<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->

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

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

-- Commit Summary --

  * boards/cc1352p-launchpad: fix BTN-1 definition
  * boards/cc1352p-launchpad: add SAUL configuration
  * boards/cc1352-launchpad: add SAUL configuration

-- File Changes --

    A boards/cc1352-launchpad/Makefile.dep (3)
    A boards/cc1352-launchpad/include/gpio_params.h (63)
    A boards/cc1352p-launchpad/Makefile.dep (3)
    M boards/cc1352p-launchpad/include/board.h (2)
    A boards/cc1352p-launchpad/include/gpio_params.h (63)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15872.patch
https://github.com/RIOT-OS/RIOT/pull/15872.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/15872
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210127/b407ef6b/attachment-0001.htm>


More information about the notifications mailing list