Commit Graph

8 Commits

Author SHA1 Message Date
Meco Man 3cb13b4523 [stm32][eth] beautify codes 2021-07-30 14:14:08 +08:00
Meco Man fc04d828ee [stm32][driver] auto formatted 2021-03-08 22:40:39 +08:00
xiaofan 65afdf050a STM32 Ethernet driver: Add DP83848C support
Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:51:53 +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
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 7279078005 [bsp][stm32] update drv_eth 2018-12-26 10:17:33 +08:00