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
Nano33 apds9960 #2091
Nano33 apds9960 #2091
Conversation
proximity in loop
…upt loop for take_measurement()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this very nice contribution! Looking forward to having robust sensor support for the nano33!
I reviewed everything except the apds9960 capsule, and have a few comments throughout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more comments, this is looking close.
It looks like something in upstream tock changed along the way. Look at https://github.com/tock/tock/blob/master/capsules/src/fxos8700cq.rs#L181 for an example how to address the build errors. |
@hudson-ayers @bradjc Sorry for the commotion there. Ill remember to merge more often for my later works and run the ci jobs locally ahead of time. It should be good to go here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just looked at HIL, looks good
bors r+ |
Pull Request Overview
Part of #1977
Adds proximity sensor interface and driver for Apds9960 chip for Nano33ble board.
Hil Design:
- proximity.rs sensor interface:
read_proximity()
read_proximity_on_interrupt(low,high)
Testing Strategy
Tested with corresponding libtock-c app for proximity sensor.
TODO or Help Wanted
N/A
Documentation Updated
/docs
, or no updates are required.Formatting
make prepush
.