Closed
Description
Is your feature request related to a problem? Please describe.
We have a board with an STM32H7 connected to an IC switch through RMII. This IC switch is also connected to an embedded Linux soc and the MDIO and MDC lines are connected to that SOC.
However the code in NuttX expects the MDIO / MDC lines and configures them here unconditionally:
https://github.com/apache/nuttx/blob/master/arch/arm/src/stm32h7/stm32_ethernet.c#L3703-L3704
When I comment them out and configure CONFIG_STM32H7_NO_PHY=y
ethernet seems to work on our board.
Describe the solution you'd like
Use CONFIG_STM32H7_NO_PHY
to conditionally compile those lines away?
Describe alternatives you've considered
No response
Verification
- I have verified before submitting the report.