Commit Graph

20 Commits

Author SHA1 Message Date
David Lin f4a2a00f3d
[bsp/stm32]Fixed typo 'lenth' in drv_eth.c
Note that the word 'lenth' is wrong in the output infomation,
so that 'lenth' should been replaced with 'length'.
And floder-> folder in line 22.
2020-02-24 20:54:53 +08:00
xieyangrun 0094765b31 [stm32/libraries/HAL_Drivers/drv_eth.c]fixed read phy SR register return value conflicts with function's parameter 2020-01-15 11:38:35 +08:00
xiaofan 4eb2d7eed0 STM32 Ethernet: Using Timer Instead of Poll Thread
Signed-off-by: xiaofan <xfan1024@live.com>
2019-10-29 17:21:18 +08:00
xiaofan 2a9e7c0eea Fix code style
Signed-off-by: xiaofan <xfan1024@live.com>
2019-10-29 17:21:17 +08:00
xiaofan 7676b5e69b Optimize STM32 Ethernet Drvier
1. Add phy_linkchange function to simplify eth_phy_isr and phy_monitor_thread_entry
2. phy_speed is uint8_t may case some problems, use enumeration instead of hardware-dependent values
3. Fix eth_phy_isr can not detect link up
4. Use macro to check phy status for flexibility

Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:51:09 +08:00
xiaofan 37fe581be4 Fix STM32 Ethernet Driver Spelling Mistake
Rename PHY_INTERRUPT_MSAK_REG to PHY_INTERRUPT_MASK_REG

Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:50:45 +08:00
laoyening cf4f42ea19 在没插好网线,开发板就上电时,以太网硬件初始化返回失败,导致下一步的以外网DMA环结构和以太网中断都没有被初始化好。等到网线被插好之后,以太网接收数据线程堆栈溢出,程序发生奔溃。 2019-08-12 17:47:52 +08:00
tyustli 2cb74f92fb add stm32 l475 pwm2 channel3、4 driver 2019-07-26 11:08:58 +08:00
SummerGift 6a9fb353f7 【修改】HAL_ETH_RxCpltCallback 提示等级由 error 修改为 info,因为这是一个非致命的问题 2019-06-10 17:53:49 +08:00
SummerGift 680e3ff70d 【优化】PHY 状态检测流程 2019-06-10 17:49:29 +08:00
SummerGift 7f710f9eab 【修改】changelog for PHY state detection process 2019-06-10 17:30:05 +08:00
SummerGift 44e70b3c0d 【完善】PHY 状态检测驱动 2019-06-10 17:24:00 +08:00
SummerGift 8710b1fd06 【修复】PHY 状态查询过程中的 bug 2019-06-10 15:07:45 +08:00
SummerGift 6309492ec5 【修改】PHY 检测相关处理 2019-05-15 15:45:48 +08:00
SummerGift 960451695b 【修改】 网卡驱动的初始化应当在 lwip 初始化之后以及应用调用网络接口之前,因此修改初始化等级为 device 是比较合适的。 2019-05-08 10:43:25 +08:00
zylx 9818ee2d29 [components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和 2019-03-14 16:39:50 +08:00
SummerGift 40a474fefa [bsp][stm32] optimize eth driver 2019-01-08 14:01:27 +08:00
SummerGift 710f82d46b [bsp][stm32] optimize falsh && eth driver 2018-12-28 14:16:49 +08:00
SummerGift 11dfedecdc [bsp][stm32] fix eth bug 2018-12-26 18:15:35 +08:00
SummerGift 7279078005 [bsp][stm32] update drv_eth 2018-12-26 10:17:33 +08:00