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

drivers: sensor: a01nyub: added driver #58377

Merged

Conversation

AnachronisticPenguin
Copy link

Added a driver for the DFRobot A01NYUB distance sensor. This sensor sends its readings via UART at 9600 baud. This driver uses interrupts to read the data from the sensor.

Copy link
Member

@MaureenHelm MaureenHelm left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

drivers/sensor/CMakeLists.txt Outdated Show resolved Hide resolved
drivers/sensor/CMakeLists.txt Outdated Show resolved Hide resolved
drivers/sensor/Kconfig Outdated Show resolved Hide resolved
drivers/sensor/a01nyub/a01nyub.h Outdated Show resolved Hide resolved
samples/sensor/a01nyub/src/main.c Outdated Show resolved Hide resolved
Copy link
Member

@MaureenHelm MaureenHelm left a comment

Choose a reason for hiding this comment

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

One more thing - can you add this sensor to tests/drivers/build_all/sensor/uart.dtsi? This will ensure it builds in CI

Added a driver for the DFRobot A01NYUB distance sensor. This sensor
sends its readings via UART at 9600 baud. This driver uses interrupts
to read the data from the sensor.

Signed-off-by: Oliver King <oliver.king@steadconnect.com>
@AnachronisticPenguin
Copy link
Author

@nashif , @galak : bringing this PR back to the top of your inbox now that the merge window has reopened. Please let me know if any further edits are required.

@carlescufi carlescufi merged commit fbc6a91 into zephyrproject-rtos:main Jul 26, 2023
24 checks passed
@AnachronisticPenguin AnachronisticPenguin deleted the sensor_a01nyub branch July 26, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree Binding PR modifies or adds a Device Tree binding area: Sensors Sensors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants