mirror of https://github.com/ARMmbed/mbed-os.git
Limit max of M487 EMAC RX frame len as 1518
parent
8d246d8ac1
commit
410e4173b1
|
@ -262,6 +262,8 @@ void numaker_eth_init(uint8_t *mac_addr)
|
|||
EMAC_CAMCTL_ABP_Msk;
|
||||
EMAC->CAMEN = 1; // Enable CAM entry 0
|
||||
|
||||
/* Limit the max receive frame length to 1514 + 4 */
|
||||
EMAC->MRFL = 1518;
|
||||
reset_phy();
|
||||
|
||||
EMAC_ENABLE_RX();
|
||||
|
|
Loading…
Reference in New Issue