4ms / stm32mp1-baremetal

Baremetal framework and example projects for the STM32MP15x Cortex-A7 based MPU
Other
153 stars 28 forks source link

Ethernet example please #5

Open Undercroft opened 2 years ago

Undercroft commented 2 years ago

Hi Dan,

thanks for providing these introductory projects. If possible, could you provide a very basic ethernet example? E.g maybe just hook up to a network with ARP and send or receive a UDP datagram.

All the best

danngreen commented 2 years ago

Hi, Based on a quick comparison between the H7 and MP1 ETH peripherals, it looks like the MP1 ETH peripheral features are a superset of the H7 ones. So, in theory it should be possible to use ST's H7 example projects as a starting point (similar to porting USB from H7 to MP1). I see several examples using lwip such as these. Probably a good place to start?

Are you using the Discovery board, or a custom board?

Undercroft commented 2 years ago

Thanks. I'm not that familiar with the lwip examples so can't really comment. I have a STM32MP157D-DK1.

Edit: I just had a look and they could be promising.