We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bced9bd commit 6c216b9Copy full SHA for 6c216b9
connectivity/drivers/emac/TARGET_STM/STM32EthMACv2.cpp
@@ -254,8 +254,10 @@ namespace mbed {
254
// Note: Following code is based on HAL_Eth_Init() from the HAL
255
/* Init the low level hardware : GPIO, CLOCK, NVIC. */
256
EthInitPinmappings();
257
-#ifdef TARGET_STM32H7
+
258
// Use RMII
259
+#ifdef TARGET_STM32H7
260
+ __HAL_RCC_SYSCFG_CLK_ENABLE();
261
HAL_SYSCFG_ETHInterfaceSelect(SYSCFG_ETH_RMII);
262
263
/* Dummy read to sync with ETH */
0 commit comments