summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
authorlaoyening <[email protected]>2019-08-15 10:37:58 +0800
committerlaoyening <[email protected]>2019-08-15 10:37:58 +0800
commitcdb70c696eb8bc6027cc1141a043fd44117dbf8c (patch)
treed134fbc4b789718cbfe3c63b0a1e5da321829d35 /bsp/stm32
parentcf4f42ea195166dd2432c5cb825d67d43af95611 (diff)
1、修复因LAN8720A重启无效而导致无法进行自动协商,引起网卡初始化失败。
2、LWIP-1.4.1中tcp协议栈的初始化顺序有误,导致使用netdev组件时,网卡无法正常注册,该问题之前在LWIP-2.0.2和LWIP-2.1.0已经修复。
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c b/bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c
index 3e032649aa..838216ffaa 100644
--- a/bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c
+++ b/bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c
@@ -25,4 +25,4 @@ int phy_init(void)
rt_pin_write(RESET_IO, PIN_HIGH);
return RT_EOK;
}
-INIT_APP_EXPORT(phy_init);
+INIT_BOARD_EXPORT(phy_init);