Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards: unify user button defines #17428

Merged
merged 1 commit into from Dec 20, 2021

Conversation

aabadie
Copy link
Contributor

@aabadie aabadie commented Dec 20, 2021

Contribution description

There are a few boards that define there user button as BTN_B1_PIN without defining the GPIO mode. This is not compatible with the tests/buttons application which expects the defines to be called BTNx_PIN and BTNx_MODE.

This PR renamed these defines to make them compatible and testable with tests/buttons.

Testing procedure

tests/buttons now works with b-l072z-rwan1, b-l475e-iot01a, pyboard and ublox-c030-u201.

Issues/PRs references

Noticed that when working on #17410

@aabadie aabadie added the Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation label Dec 20, 2021
@github-actions github-actions bot added the Area: boards Area: Board ports label Dec 20, 2021
Copy link
Contributor

@kaspar030 kaspar030 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. (feel free to squash in that extra newline fix)

@kaspar030 kaspar030 added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Dec 20, 2021
@aabadie aabadie force-pushed the pr/boards/unify_user_button_define branch from e8d0a25 to 4877155 Compare December 20, 2021 10:39
@aabadie aabadie merged commit 3b60193 into RIOT-OS:master Dec 20, 2021
@aabadie aabadie deleted the pr/boards/unify_user_button_define branch December 20, 2021 10:43
@fjmolinas fjmolinas added this to the Release 2022.01 milestone Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants