Tomáš Švec <tomas.sve...@gmail.com> wrote:

> Thank you for the quick answer. By ISR you mean an interrupt routine? In that 
> case it is correct, since the event polling kind of replaces interrupts.

Yes.

> I also implemented low_level_output, but it seems to be called only from the 
> etharp.c file.

Which function you need depends on how you pass data through SPI. If you only 
want to pass IP packets (so etharp does not run over SPI), you don't need 
low_level_output.

> Is it necessary to implement a function like "ethernetif_output" as well and 
> call it somewhere?

As above, if etharp does not run per SPI, yes. That's what you'll set to 
netif->output so that it gets called instead of etharp_output. Pbuf payload 
points to the IP header in this function.

Simon
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to