Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stm32 emac ethernet driver #12776

Merged

Commits on Apr 8, 2020

  1. Update STM32 EMAC driver - limit RX frame length

    DISCO_F769NI EMAC driver may return ethernet packet with illegal
    length when driver is under heavy load. In one case, the received
    bytes indicate frame length of 53 bytes but advertised data length
    was 65518 bytes. In another case EMAC driver variable
    `EthHandle.RxFrameInfos.length` contained value 0xFFFF FFFC.
    
    As a work-around accept only 1-1500 bytes long ethernet packets.
    Arto Kinnunen authored and Jarkko Paso committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    6d2bc4f View commit details
    Browse the repository at this point in the history
  2. Update STM32 EMAC driver based on review

    -Fix len type
    -Use ETH_RX_BUF_SIZE instead of hard-coded value 1500
    Arto Kinnunen authored and Jarkko Paso committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    38f9a09 View commit details
    Browse the repository at this point in the history