ChibiOS
ChibiOS copied to clipboard
hal_mac_lld.c - added support for fixed link connection
The goal of this PR is to support the case when STM32 MCU is connected through MII/RMII with fixed link parameters. For example, in more complex systems where FMU is connected directly to ethernet switch, which is not mastered by STM through MDIO bus. In this case, the link parameters are defined in board definition file.
@vrsanskytom Can you give an example of the connectivity here? Which switch are you testing this on?
@vrsanskytom Can you give an example of the connectivity here? Which switch are you testing this on?
Sure, please take a look at following diagram, describing our board architecture. Onboard FMU is the device running on STM which is a subject of this issue.
https://docs.airvolute.com/dronecore-autopilot/dcs2/.pilot-boards/dcs2.pilot-v-1.0/peripherals
We are using ethernet switch from microchip KSZ family, but this will be common issue for all switches not mastered by STM.