Connection through ethernet
Hi, I am trying to create a connection through ethernet with lwip however I stuck at netif down I guess it related with flags which are checking the connection. I am using STM32H735 board. lwip.c file codes are taken from the github (https://github.com/stm32-hotspot/STM32H7-LwIP-Examples/blob/main/STM32H735_Disco_ETH/LWIP/App/lwip.c) that is recommended in the forum for IDE 1.9. (FreeRTOS is being used.)
netif_add(&gnetif, &ipaddr, &netmask, &gw, NULL, ðernetif_init, &tcpip_input);
while(1){
netif_set_default(&gnetif);
if (netif_is_link_up(&gnetif))
{ netif_set_up(&gnetif);
break;
}
else
{ netif_set_down(&gnetif);
}netif_set_link_callback(&gnetif, ethernet_link_status_updated);
}
