Part Number: RM57L843
Hi,
My customer is referring LwIP_Wiki which was introduced in the original post (see above).
Inside the Wiki, there are simple main loop for non-OS (single threaded) system.
https://lwip.fandom.com/wiki/LwIP_with_or_without_an_operating_system
while(1) {
/* poll the driver, get any outstanding frames, alloc memory for them, and
* call netif->input, which is actually ip_input().
* This may be called differently, depending on the underlying driver.
* Eg. on STM it's ethernetif_input(&gnetif) */
poll_driver(netif);
/* Handle all system timeouts for all core protocols */
sys_check_timeouts();
}Customer is asking what is the "poll_driver(netif);" equivalent function for RM57L.
The comment in above code mentions "This may be called differently, depending on the underlying driver. EG. on STM it's ethernetif_input(&gnetif)" .
Customer found there is function named "ethernetif_input()" in LwIP example.
\hercules_examples-master\Application\LwIP\v00.04.00\lwip-1.4.1\src\netif\ethernetif.c
Is this the right one?
Thanks and regards,
Koichiro Tashiro