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

add driver for ADXL345 sensor #829

Merged
merged 5 commits into from
Feb 28, 2018
Merged

add driver for ADXL345 sensor #829

merged 5 commits into from
Feb 28, 2018

Conversation

matthewwarnes
Copy link
Contributor

No description provided.

Copy link
Contributor

@mkiiskila mkiiskila left a comment

Choose a reason for hiding this comment

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

This looks good to me. I see you enable interrupt sources on the chip, but don't set up a pin for IRQ (aka hal_gpi_irqXXX stuff). Any plans to add this later?


#include "defs/error.h"
#include "os/os.h"
#include "sysinit/sysinit.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

Move this line a bit higher. There are syscfg settings which impact how includes from os/os.h are read in.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will sort the requested changes. I should also be able to add in IRQ bits, I mostly haven't done that yet as I wasn't sure how to implement it yet.

@vrahane
Copy link
Contributor

vrahane commented Feb 21, 2018

Sounds good. Support for thresholds and tap detection are quite useful in the Sensor API.

@vrahane vrahane merged commit 95ae019 into apache:master Feb 28, 2018
@aditihilbert aditihilbert added enhancement feature New feature request and removed enhancement labels Mar 6, 2018
@matthewwarnes matthewwarnes deleted the adxl345 branch March 10, 2018 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants