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

External MAC refactor, Smoltcp Update #292

Merged
merged 15 commits into from
May 11, 2023
Merged

Conversation

ryan-summers
Copy link
Member

@ryan-summers ryan-summers commented Mar 31, 2023

This PR fixes #218 by entirely eliminatin the external MAC code. This became possible in smoltcp 0.9 because of the refactor of the Device trait which allows borrowing out of self for the lifetime of the TX/RX tokens.

In general, it might be nice to move the smoltcp::phy::Device implementation into the respective crates, but if we maintain it here, we keep tight control of the smoltcp version to be used.

This PR also removes the net::shared module in favor of smoltcp-nal's implementation

Base automatically changed from feature/hal-update to main March 31, 2023 11:51
@ryan-summers ryan-summers requested a review from jordens May 11, 2023 09:40
@ryan-summers ryan-summers marked this pull request as ready for review May 11, 2023 09:40
@ryan-summers ryan-summers changed the title Feature/external mac removal External MAC refactor, Smoltcp Update May 11, 2023
Cargo.toml Outdated Show resolved Hide resolved
@ryan-summers ryan-summers merged commit 272e250 into main May 11, 2023
@ryan-summers ryan-summers deleted the feature/external-mac-removal branch May 11, 2023 10:11
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.

Investigate migrating external MAC code to a separate crate
2 participants