dtaarondecker / EFM32GG11-ETH-LWIP

Demo of how to use the ETH periphrial on the EFM32GG11 with LWIP
0 stars 0 forks source link

lwip setup #1

Closed mauricioagurto closed 9 months ago

mauricioagurto commented 9 months ago

Hi

I wished Silicon Labs had done something like this. Great job!!!

How do you set up the lwip library. This project has some references to some lwip C headers. It seems it is not enough to clone https://github.com/lwip-tcpip/lwip and add the paths to the mentioned headers. At some point it asked me for a file named arch/cc.h

Thanks in advance!

dtaarondecker commented 9 months ago

Silicon Labs has some architecture specific headers that you need. You can find those here https://github.com/SiliconLabs/gecko_sdk/tree/gsdk_4.3/util/third_party/lwip/lwip-contrib/ports/efm32/include/arch.

I haven't gotten around to fully performance testing this code yet so keep that in mind, there very well could be bugs. I expect to get back around to this project in the next month or two.