azerupi opened a new pull request, #16215: URL: https://github.com/apache/nuttx/pull/16215
## Summary Closes #16213 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 for configuration. However the code in NuttX expects the MDIO / MDC lines and configures them unconditionally. When we comment out the lines while having the `CONFIG_STM32H7_NO_PHY` set it works for us. ## Impact As far as I can tell, the MDIO and MDC lines should not be used when the option `CONFIG_STM32H7_NO_PHY` is set ? Not configuring the pins should therefore be the expected behavior. The changes are limited to STM32H7 and H5 because they are the only targets that I found that define a `NO_PHY` option. ## Testing Tested by commenting out the two lines on a custom board with an STM32H7 running PX4 which is running on top of Nuttx. The STM32 is connected to an IC switch over RMII and the IC switch is configured from a second SOC running Linux. The Linux driver configures the IC switch. Before the changes this setup didn't work, with the changes it works. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org