Traits for MDIO and/or Ethernet MAC

Open
#425 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the issue discussion and the prior-art mdio crate linked in the description. Compare the possible MDIO and MAC scopes, including MII/RMII/RGMII/SGMII, and determine whether either belongs in a new embedded-hal-mac crate. Done means an agreed trait scope and implementation direction are documented.

Written by the indexing model from the issue text.

Description

Has there been any discussion on adding traits for MDIO or MAC interfaces? These are about the last common peripheral that I haven't been able to find any discourse about. It seems like there may be a place for an embedded-hal-mac crate.

MDIO is pretty simple and could probably mirror I2C. It is still useful to have even if a MAC interface is out of scope. There is some prior art here with the awesome mdio crate https://docs.rs/mdio/latest/mdio/

MAC is more complicated and might have some different possible implementations based on MII/RMII/RGMII/SGMII/etc

Dominant language
Rust
Stars
2.7k
Forks
282
PR merge metrics
No merged PRs in 30d

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.

More from rust-embedded/embedded-hal

All issues in rust-embedded/embedded-hal

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.