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

onewire(ds18b20): introduce 1-wire device access by sysfs and temp driver #1091

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

gen2thomas
Copy link
Collaborator

@gen2thomas gen2thomas commented Oct 31, 2024

Solved issues and/or description of the change

Introduce the basic infrastructure for 1-wire devices. Basic means:

  • no access to the bus master, so no manual add/remove of devices possible - automatic scan is mandatory
  • no accesser switch implemented, so currently only sysfs is supported

Add a driver for DS18B20 as first example.

Manual test

  • OS and Version (Win/Mac/Linux): Linux
  • Adaptor(s) and/or driver(s): tinkerboard, raspi, DS18B20

Checklist

  • The PR's target branch is 'hybridgroup:dev'
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes (e.g. by run make test_race)
  • No linter errors exist locally (e.g. by run make fmt_check)
  • I have performed a self-review of my own code

If this is a new driver or adaptor:

  • I have added the name to the corresponding README.md
  • I have added an example to see how to setup and use it
  • I have checked or build at least my new example (e.g. by run make examples_check)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant