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

Feature/network refactor #168

Merged
merged 12 commits into from
Jan 24, 2022
Merged

Feature/network refactor #168

merged 12 commits into from
Jan 24, 2022

Conversation

ryan-summers
Copy link
Member

This PR refactors the Booster network into a net folder, implements a shared network stack, and updates the minimq client version to 0.5.2 so we can leverage various bug fixes and improvements.

I've also added in a SystemTimer to track longer time durations and replaced the EpochClock that was used for the smoltcp implementation previously, as that timer was only able to track short time durations.

Copy link
Member

@jordens jordens left a comment

Choose a reason for hiding this comment

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

Looks good

@ryan-summers
Copy link
Member Author

@jordens Would you mind taking a quick look after refactor to support the ENC424J600 as well? I had to redo the smoltcp::phy::Device implementation to fix some lifetime semantics, but would like to move the implementation to the ENC424J600 crate in the future (once I get an M-labs Git account).

src/hardware/enc424j600_api.rs Outdated Show resolved Hide resolved
@ryan-summers ryan-summers force-pushed the feature/network-refactor branch from 288f6cd to aa1d0b1 Compare January 24, 2022 11:08
@ryan-summers ryan-summers requested a review from jordens January 24, 2022 11:09
@ryan-summers
Copy link
Member Author

ENC424J600 has been removed, as we do not have the capabilities to test these changes. Instead, the build will remain broken for this variant with WIP implementation on feature/enc424j600-support.

@jordens
Copy link
Member

jordens commented Jan 24, 2022

We should allow enc24 CI to fail though.

@ryan-summers ryan-summers merged commit 0e207d3 into develop Jan 24, 2022
@ryan-summers ryan-summers deleted the feature/network-refactor branch January 24, 2022 12:51
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