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

HC_SR04 Distance Sensor Driver #15

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

cristianaprecup
Copy link

Pull Request Overview

This pull request adds HIL and a system call driver for distance and a driver for HC-SR04 Distance Sensor.

The files added for this capsules are:

  • capsules/extra/src/distance.rs
  • capsules/extra/src/hc_sr04.rs

Testing Strategy

This pull request was tested on a Raspberry Pi Pico W and a HC-SR04 distance sensor.

TODO or Help Wanted

This pull request needs feedback.

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

@github-actions github-actions bot added the HIL label Aug 2, 2024
capsules/extra/src/hc_sr04.rs Outdated Show resolved Hide resolved
capsules/extra/src/hc_sr04.rs Outdated Show resolved Hide resolved
kernel/src/hil/sensors.rs Show resolved Hide resolved
Copy link

@alexandruradovici alexandruradovici left a comment

Choose a reason for hiding this comment

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

Looks good, please fix these and send the pull request to upstream.

capsules/extra/README.md Outdated Show resolved Hide resolved
capsules/extra/src/hc_sr04.rs Outdated Show resolved Hide resolved
capsules/extra/src/hc_sr04.rs Outdated Show resolved Hide resolved
kernel/src/hil/sensors.rs Outdated Show resolved Hide resolved
kernel/src/hil/sensors.rs Outdated Show resolved Hide resolved
doc/syscalls/README.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants