[email protected] wrote: > Ok – nevermind last email. I need the ETH IRQ handler. In there, I load an > application list (not an LwIP pbuf) with the received ETH packet and clear the > ETHDMA bits to get the next interrupt. In main, I get the packet out of the > list and call ethernet_input to have LwIP handle it. Is this how it should be > done to avoid problems in tcp_output?
Yes. This is one way to do it. You are essentially free to chose any way that makes sure the core lwIP code (except for allocating/freeing PBUF_POOL pbufs and other memp-memory) is not exposed to concurrent execution (i.e. executed from main and ISR at the same time). Simon _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
