From 0560feabdd6e94a961c9fa2a236485b2bacf6770 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Fri, 27 Oct 2017 11:08:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E7=BD=91=E5=8D=A1?= =?UTF-8?q?=E9=A9=B1=E5=8A=A8=E6=B3=A8=E5=86=8C=E5=90=8E=E6=94=B9=E5=8F=98?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E7=8A=B6=E6=80=81=E4=B8=BAlink=20up,?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=9B=A0=E4=B8=BA=E8=BF=9E=E6=8E=A5=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=B2=A1=E6=9C=89=E6=9B=B4=E6=96=B0=E8=80=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4lwip=202.02=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32f429-apollo/drivers/drv_eth.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsp/stm32f429-apollo/drivers/drv_eth.c b/bsp/stm32f429-apollo/drivers/drv_eth.c index 257e34f70..3f1744593 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);