atsamd icon indicating copy to clipboard operation
atsamd copied to clipboard

GMAC support

Open Sympatron opened this issue 5 years ago • 1 comments

I started working on ethernet support for SAME53/54. The basic initialization is copied from Atmel Start.

Maybe someone can have a look at the overall structure of the code. Since this is my first driver from scratch any pointers will be appreciated!

I particularly don't like the IOSet bit, because for some reason I could not get From<(GMDC, GMDIO)> to work for each possible combination, because of function overloading I think.

Sympatron avatar Nov 19 '20 23:11 Sympatron

@Sympatron, I will try to create a PR with my SERCOM pads module this weekend. I handle IOSET for the SERCOM pads, which is much more complicated than GMAC. You can take a look at how I did it.

This isn't up to date, but this has the core of what I did. There should only be minor modifications in my next PR.

bradleyharden avatar Nov 19 '20 23:11 bradleyharden