diff --git a/bsp/stm32f429-apollo/drivers/drv_eth.c b/bsp/stm32f429-apollo/drivers/drv_eth.c index 257e34f701fbad05d859425bf1fe1a82d7e84b6b..3f174459354368e4cd5d2fad1f997e5c0e8100ae 100644 --- a/bsp/stm32f429-apollo/drivers/drv_eth.c +++ b/bsp/stm32f429-apollo/drivers/drv_eth.c @@ -602,6 +602,9 @@ static int rt_hw_stm32_eth_init(void) { STM32_ETH_PRINTF("eth_device_init faild: %d\r\n", state); } + + eth_device_linkchange(&stm32_eth_device.parent, RT_TRUE); //linkup the e0 for lwip to check + return state; } INIT_DEVICE_EXPORT(rt_hw_stm32_eth_init);