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

Merged
merged 1 commit into from
Dec 11, 2024

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.

Additionally:

Manual test

  • OS and Version (Win/Mac/Linux): Linux
  • Adaptor(s) and/or driver(s): tinkerboard, 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)

@gen2thomas gen2thomas force-pushed the feature/one_wire branch 12 times, most recently from f5b562b to 501a1e7 Compare November 7, 2024 10:04
@gen2thomas gen2thomas force-pushed the feature/one_wire branch 6 times, most recently from 4ca37e5 to 778aa40 Compare December 11, 2024 08:53
@gen2thomas gen2thomas marked this pull request as ready for review December 11, 2024 09:22
@gen2thomas gen2thomas merged commit 9dfcfc5 into hybridgroup:dev Dec 11, 2024
6 checks passed
@gen2thomas gen2thomas deleted the feature/one_wire branch December 11, 2024 09:26
@gen2thomas gen2thomas mentioned this pull request Dec 11, 2024
5 tasks
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