Skip to content

drivers/l3g4200d: apply unified driver params scheme + cleanup#8698

Merged
aabadie merged 4 commits intoRIOT-OS:new_i2c_iffrom
aabadie:pr/drivers/params/l3g4200d
Jul 4, 2018
Merged

drivers/l3g4200d: apply unified driver params scheme + cleanup#8698
aabadie merged 4 commits intoRIOT-OS:new_i2c_iffrom
aabadie:pr/drivers/params/l3g4200d

Conversation

@aabadie
Copy link
Copy Markdown
Contributor

@aabadie aabadie commented Feb 28, 2018

Contribution description

This PR updates the params definitions scheme and makes some cleanup in the driver implementation.

Issues/PRs references

Initially done in #7937 and related to #7519

#6577

@aabadie aabadie added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation 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 labels Feb 28, 2018
@aabadie aabadie changed the title Pr/drivers/params/l3g4200d drivers/l3g4200d: use new driver params scheme Feb 28, 2018
@aabadie aabadie added the Process: API change Integration Process: PR contains or issue proposes an API change. Should be handled with care. label Feb 28, 2018
@aabadie aabadie changed the title drivers/l3g4200d: use new driver params scheme drivers/l3g4200d: apply unified driver params scheme + cleanup Feb 28, 2018
@aabadie aabadie force-pushed the pr/drivers/params/l3g4200d branch from ee4d3ac to 44f8883 Compare March 22, 2018 08:03
@aabadie
Copy link
Copy Markdown
Contributor Author

aabadie commented Apr 11, 2018

Just tested on iotlab-m3, works. But I realized that int1 and int2 pins are not used in the code. So the refactoring could go further by simply removing them.

@aabadie aabadie changed the base branch from master to new_i2c_if May 27, 2018 21:03
@aabadie aabadie force-pushed the pr/drivers/params/l3g4200d branch from 44f8883 to 5e9cfc7 Compare May 27, 2018 21:06
@aabadie aabadie added TF: I2C Marks issues and PRs related to the work of the I²C rework task force and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels May 27, 2018
@aabadie aabadie force-pushed the pr/drivers/params/l3g4200d branch from 5e9cfc7 to 94a51c2 Compare June 7, 2018 21:28
@aabadie aabadie force-pushed the pr/drivers/params/l3g4200d branch from 94a51c2 to 7f73561 Compare June 18, 2018 11:33
Copy link
Copy Markdown
Member

@smlng smlng left a comment

Choose a reason for hiding this comment

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

untested ACK; API changes are fine. However, for future reference it might be better to stick to API adaptions and have the param scheme stuff in a followup PR.

@aabadie
Copy link
Copy Markdown
Contributor Author

aabadie commented Jul 4, 2018

However, for future reference it might be better to stick to API adaptions and have the param scheme stuff in a followup PR.

The problem is that this PR was opened long time ago. I just rebased it on new_i2c_if and applied the I2C rework there for simplicity.

@aabadie aabadie merged commit aa2fa1c into RIOT-OS:new_i2c_if Jul 4, 2018
basilfx pushed a commit to basilfx/RIOT that referenced this pull request Jul 10, 2018
drivers/l3g4200d: apply unified driver params scheme + cleanup
dylad pushed a commit to dylad/RIOT that referenced this pull request Jul 10, 2018
drivers/l3g4200d: apply unified driver params scheme + cleanup
dylad pushed a commit that referenced this pull request Jul 11, 2018
drivers/l3g4200d: apply unified driver params scheme + cleanup
@aabadie aabadie deleted the pr/drivers/params/l3g4200d branch September 23, 2018 08:47
@aabadie aabadie added this to the Release 2018.10 milestone Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: drivers Area: Device drivers Process: API change Integration Process: PR contains or issue proposes an API change. Should be handled with care. TF: I2C Marks issues and PRs related to the work of the I²C rework task force 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.

3 participants