tm4c-hal icon indicating copy to clipboard operation
tm4c-hal copied to clipboard

WIP: Add first draft ethernet support

Open dtwood opened this issue 7 years ago • 5 comments

dtwood avatar Dec 13 '18 00:12 dtwood

Hey! How's this one coming along?

thejpster avatar Feb 06 '19 21:02 thejpster

Still very much a work in progress, but it does work! Next steps are I think to find some time to sit down, and simplify / tidy this as much as possible. Then it should be ready for at least a first attempt at reviewing.

Independently, I still need to have a think about https://github.com/rust-embedded/wg/issues/278#issuecomment-448409794, and whether I want to write up some ideas for how that should be integrated, the intial draft in https://github.com/dtwood/svd2rust/tree/ephy and https://github.com/dtwood/svd2rust/tree/edes breaks the rest of svd2rust. And I think there should probably be some sort of template support for weirder cases like these, so that the they can stay out of tree and the templates provided along with the libraries instead. Maybe at some point I'll find some time to type that all up somewhere 🙂

dtwood avatar Feb 06 '19 21:02 dtwood

If you find some time, I think this now in a state where I'm mostly happy with it, and would be ready for a first pass review. Things that are still outstanding are to push the revision of vcell forwards to compile on stable (currently blocked on a release including https://github.com/japaric/vcell/pull/4), and to add an 'ethernet' feature flag, that will pull in smoltcp.

One other thought is whether this driver should actually be a separate crate (tm4c129x-eth), like the https://github.com/stm32-rs/stm32-eth crate?

dtwood avatar May 28 '19 22:05 dtwood

Neat! I will try and find time to look at this soon :)

thejpster avatar May 29 '19 22:05 thejpster

Shall we try and push this one over the line? Ethernet support might be useful for another project I'm working on...

thejpster avatar Nov 10 '19 16:11 thejpster