You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Large refactor across lib-network to improve PHY handling, timing API usage and error reporting.
Highlights:
- PHY API: changed PHY address/register parameters from uint32_t to uint16_t and added kUnknown variants for Duplex/Speed enums; updated Read/Write/Config/GetId/Start signatures and implementations.
- PHY logic: improved autonegotiation/advertisement handling, ParseLink logic, added more robust Status initialization and debug prints, and switched to human-readable ToString outputs.
- Timing: replaced hal::Millis() with timing::Millis() and updated related includes.
- Error reporting: removed console::Error usage, added network::Error helper and ERROR macro, and replaced many console error prints with ERROR(...) messages.
- Misc: added ../lib-hwclock include to Rules.mk, changed some counter types to uint32_t, renamed/adjusted dp83848 source filenames, updated gd32 PTP calls to CamelCase (Gd32*), and small naming/const improvements (e.g. kPhyValue).
These changes consolidate types, standardize timing and error APIs, and clarify PHY status reporting.
0 commit comments