rust-embedded / rust-embedded/linux-embedded-hal

[feature request] PWM support

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
319
Forks
60
Avg merge
12h 31m
Merged PRs (30d)
1

Description

I am working on some examples for PocketBeagle 2, and we have decided to use Rust for it.

I have a PWM example that currently uses a basic sysfs implementation. Since I am already using this crate for GPIOs, it would be nice to have PWM functionality here as well.

I can see that rust-sysfs-pwm exists, but seems to be unmaintained. So how would one go about adding PWM here. Should add the functionality here directly as a module, or would it be better to create PRs in rust-sysfs-pwm and build on top of it here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing this crate’s existing GPIO support and the linked rust-sysfs-pwm project, then compare their APIs and maintenance status. The issue does not name repository files or tests; the work is complete only after the project’s intended PWM ownership and implementation scope are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.