Skip to content

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

Merged
haukepetersen merged 1 commit intoRIOT-OS:masterfrom
smlng:saul/gpio/phynode
Jun 13, 2017
Merged

saul: add support for LEDs and buttons on pba-d-01-kw2x#7147
haukepetersen merged 1 commit intoRIOT-OS:masterfrom
smlng:saul/gpio/phynode

Conversation

@smlng
Copy link
Copy Markdown
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 review from cgundogan and haukepetersen June 7, 2017 09:47
@smlng smlng requested a review from jfischer-no June 9, 2017 09:51
@smlng
Copy link
Copy Markdown
Member Author

smlng commented Jun 9, 2017

see #7152, too

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

pefect, thanks.

@smlng smlng force-pushed the saul/gpio/phynode branch from dd763c5 to e471fbe Compare June 13, 2017 08:40
@smlng
Copy link
Copy Markdown
Member Author

smlng commented Jun 13, 2017

already squashed, 'cause minor change only

@smlng smlng force-pushed the saul/gpio/phynode branch from e471fbe to 3672472 Compare June 13, 2017 09:25
@haukepetersen
Copy link
Copy Markdown
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.

2 participants