void HAL_ETH_ErrorCallback(ETH_HandleTypeDef *heth) { if((HAL_ETH_GetDMAError(heth) & ETH_DMACSR_RBU) == ETH_DMACSR_RBU) { printf( "ETH DMA Rx Error\n" ); osSemaphoreRelease(RxPktSemaphore); // Clear RBUS ETHERNET DMA flag heth->Instance->DMACSR =...