Compare commits

..

No commits in common. "3d9a527b07a977e12d3383cfcde316ebd6f3f219" and "99c90d1740e5813e218461907074c0116d83a430" have entirely different histories.

1 changed files with 226 additions and 226 deletions

View File

@ -2,7 +2,7 @@
/**
******************************************************************************
* File Name : ethernetif.c
* @file ethernetif.c
* Description : This file provides code for the configuration
* of the ethernetif.c MiddleWare.
******************************************************************************
* @attention
@ -202,10 +202,7 @@ static void low_level_init(struct netif *netif)
heth.Init.RxBuffLen = 1536;
/* USER CODE BEGIN MACADDRESS */
MACAddr[3] = (uint8_t)HAL_GetUIDw0();
MACAddr[4] = (uint8_t)HAL_GetUIDw1();
MACAddr[5] = (uint8_t)HAL_GetUIDw2();
heth.Init.MACAddr = &MACAddr[0];
/* USER CODE END MACADDRESS */
hal_eth_init_status = HAL_ETH_Init(&heth);
@ -315,6 +312,7 @@ static void low_level_init(struct netif *netif)
/* USER CODE END PHY_POST_CONFIG */
}
}
else
{
@ -460,6 +458,7 @@ static err_t low_level_output_arp_off(struct netif *netif, struct pbuf *q, const
/* USER CODE END 5 */
return errval;
}
#endif /* LWIP_ARP */
@ -872,3 +871,4 @@ void HAL_ETH_TxFreeCallback(uint32_t *buff)
/* USER CODE BEGIN 8 */
/* USER CODE END 8 */