[riot-notifications] [RIOT-OS/RIOT] boards/cc1352(p)-launchpad: add SAUL configuration (#15872)
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:
-- 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 --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications