1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

Merge pull request #13487 from JannesVolkens/stm32_eth_mac_filter_fix

cpu/stm32_common/periph: Fix multicast filtering
This commit is contained in:
Peter Kietzmann 2020-02-26 17:16:08 +01:00 committed by GitHub
commit c78962a594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,8 @@ int stm32_eth_init(void)
/* pass all */
//ETH->MACFFR |= ETH_MACFFR_RA;
/* pass on perfect filter match and pass all multicast address matches */
ETH->MACFFR |= ETH_MACFFR_PAM;
/* store forward */
ETH->DMAOMR |= (ETH_DMAOMR_RSF | ETH_DMAOMR_TSF | ETH_DMAOMR_OSF);