Skip to content

PocketBeagle-2: accelerometer: rust: Use sysfs entries #3

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

Merged
merged 4 commits into from
Apr 5, 2025

Conversation

Ayush1325
Copy link
Member

  • Reduce the level of abstraction.
  • Just use very thin wrappers around reading sysfs entries

cc @jadonk @lorforlinux

- Reduce the level of abstraction.
- Just use very thin wrappers around reading sysfs entries

Signed-off-by: Ayush Singh <[email protected]>
Copy link
Member

@jadonk jadonk left a comment

Choose a reason for hiding this comment

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

Perfect

- Using raw sysfs entries in examples.

Signed-off-by: Ayush Singh <[email protected]>
@Ayush1325 Ayush1325 marked this pull request as ready for review April 5, 2025 08:51
- Using sysfs abstractions directly
- Also symlink sysfs.py since relative imports give errors, which I
  cannot see to fix.

Signed-off-by: Ayush Singh <[email protected]>
- Using sysfs entries directly in accelerometer example now.
- The plan is to slowly remove beagle_helper.

Signed-off-by: Ayush Singh <[email protected]>
@Ayush1325 Ayush1325 merged commit 2588c48 into beagleboard:main Apr 5, 2025
16 checks passed
@Ayush1325 Ayush1325 deleted the accl-sysfs branch April 5, 2025 08:58
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.

2 participants