add ethernet circuit

This commit is contained in:
2025-02-01 23:29:17 +01:00
parent f42912fb7f
commit 79e716c988
211 changed files with 225651 additions and 2946 deletions

View File

@ -220,7 +220,7 @@ static void MX_ETH_Init(void)
MACAddr[4] = 0x00;
MACAddr[5] = 0x00;
heth.Init.MACAddr = &MACAddr[0];
heth.Init.MediaInterface = HAL_ETH_RMII_MODE;
heth.Init.MediaInterface = HAL_ETH_MII_MODE;
heth.Init.TxDesc = DMATxDscrTab;
heth.Init.RxDesc = DMARxDscrTab;
heth.Init.RxBuffLen = 1524;