-
8000
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
drivers/sen5x: Add device driver for SEN5x #19955
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
Conversation
I wonder if any maintainer has access to one of these? |
If you are still interested in getting this in I would suggest removing the Kconfig dependency modelling aspect and posting test results :) |
Hi, if this is a problem we (TU Braunschweig) could try to send you one of ours ;) |
Regarding the test results, the SEN55 outputs its measurements every two seconds. Here are three sample iterations of the test:
I'm a bit confused as to what you mean by the Kconfig dependency modelling aspect. Can you elaborate this a bit further? |
@dprigoshij Are you still interested in merging this? I recently acquired a SEN55-SDN-T sensor and tested this PR with an nRF52840DK and everything seems to work as it should 👍
|
Hey, we are still interested in merging the driver. Please let us know if any further changes are required. |
I'll take a closer look at it then for a review, but it certainly has to be rebased and there are two conflicts in The early commits should be squashed and all commit messages have to adhere to our Commit Conventions: https://github.com/RIOT-OS/RIOT/blob/master/CONTRIBUTING.md#commit-conventions Other than that I don't think major changes are required. One functional change I would suggest is to keep the test running forever instead of just 100 cycles. The SEN5x takes some time until the values stabilize and the test is already over once the values stabilize. |
Alright, thanks for your input. It's been some time since I've worked on this, but I'll see to get it done. |
I believe it's finished now? I've also added the mentioned "Makefile.ci". |
Yes (mostly). There are still a couple of small static-test errors that were probably introduced when you added the line breaks, but nothing major. Thanks a lot for addressing all the review points. |
You probably mean the vera++ checks? I've glossed over them, since the test ran trough, but it should be changed now. |
d8011b9
to
7cf3fc6
Compare
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.
Everything done now! 🥳
Unfortunately we have to wait with the merging until our build server mobi3
is fixed, but that won't be long.
Would you mind running |
@dprigoshij Thank you for your contribution and for applying all the suggestions, I know it's been a long journey :) |
Contribution description
Testing procedure
tests/drivers/sen5x:
tests/drivers/sen5x
SAUL:
examples/saul
USEMODULE += sen5x
term
saul read [ID]
to test the outputs