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

Implement external MAC for ENC424J600 #230

Merged
merged 6 commits into from
Aug 18, 2022
Merged

Conversation

occheung
Copy link
Collaborator

Related issue

Closes #214

Changes

Added an implementation of the ExternalMac trait for ENC424J600 device. Since we are not directly implement5ing the smoltcp Device trait, We don't need the smoltcp-phy feature from the enc424j600 crate anymore.

I also changed the MAC address type to the one under smoltcp. It is not strictly necessary, but we are already using smoltcp for all network devices. It probably saves a few cfg blocks.

Copy link
Member

@ryan-summers ryan-summers left a comment

Choose a reason for hiding this comment

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

Looking quite nice! Can you re-enable the ENC424J600 feature in CI? We removed it until we could get it back up and running.

src/hardware/external_mac.rs Outdated Show resolved Hide resolved
occheung and others added 2 commits August 18, 2022 10:22
Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
@occheung
Copy link
Collaborator Author

Re-enabled CI for ENC424J600.
@ryan-summers

Copy link
Member

@ryan-summers ryan-summers left a comment

Choose a reason for hiding this comment

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

Thanks for getting this done!

@ryan-summers ryan-summers merged commit 3ee28e3 into develop Aug 18, 2022
@ryan-summers ryan-summers deleted the impl-encj-extmac branch August 18, 2022 08:42
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.

Add external MAC support for the ENC424J600
2 participants