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

saul: add support for LEDs and buttons on pba-d-01-kw2x #7147

Merged
merged 1 commit into from Jun 13, 2017

Conversation

smlng
Copy link
Member

@smlng smlng commented Jun 7, 2017

add SAUL support for RGB LED, user button, and capacitive sensor button on board pba-d-01-kw2x

@smlng smlng added Area: drivers Area: Device drivers Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jun 7, 2017
@smlng smlng added this to the Release 2017.07 milestone Jun 7, 2017
@smlng smlng self-assigned this Jun 7, 2017
@smlng smlng requested a review from jfischer-no June 9, 2017 09:51
@smlng
Copy link
Member Author

smlng commented Jun 9, 2017

see #7152, too

Copy link
Contributor

@haukepetersen haukepetersen left a comment

Choose a reason for hiding this comment

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

One minor comment, the rest looks good and works as expected -> ACK once addressed

/**
* @brief GPIO pin configuration
*/
static const saul_gpio_params_t saul_gpio_params[] =
Copy link
Contributor

Choose a reason for hiding this comment

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

seems like an additional space slipped in here...

Copy link
Member Author

Choose a reason for hiding this comment

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

oops

Copy link
Member Author

Choose a reason for hiding this comment

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

addressed

#endif

/**
* @brief GPIO pin configuration
Copy link
Contributor

Choose a reason for hiding this comment

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

same here...

Copy link
Member Author

Choose a reason for hiding this comment

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

mhm, this was actually intentional, to align the documentation

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, and it should, but it still makes sense to adhere to tabs (as in 4-space indentions). And this implies to leave 3 spaces behind the @brief, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, you have the eagle eyes for spacing - haven't seen that 😉 addressed and squashed.

Copy link
Contributor

Choose a reason for hiding this comment

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

pefect, thanks.

@smlng
Copy link
Member Author

smlng commented Jun 13, 2017

already squashed, 'cause minor change only

@haukepetersen
Copy link
Contributor

All green -> go

@haukepetersen haukepetersen merged commit 50ea5b0 into RIOT-OS:master Jun 13, 2017
@smlng smlng deleted the saul/gpio/phynode branch June 13, 2017 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: drivers Area: Device drivers CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants