Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The CH32V208 has a MAC that's unique to itself, but relatively simple.
I was able to make the demo work on some custom HW of mine.
While this is functional, it's not the 'cleanest' implementation.
Feedback welcome.
This PR depends on ch32-rs/ch32-data#16 for the registers definitions.
Once merged, the dependency yo ch3é-metapac should be updated here.
Note: This is incompatible with the MAC inside the CH32V30x.
While there is no support for the CH32V30x MAC, the basic infrastructure to include the correct ETH driver is present.
Also, the CH32V30x has a MAC that's very close to STM32's 'v1a' so embassy-stm32 should be a good starting point for future work.