Merge pull request #3707 from itmmckernan/main
Fixed stm32 v1 ethernet driver multicast reception
This commit is contained in:
commit
adf1e424f4
@ -163,6 +163,11 @@ impl<'d, T: Instance, P: PHY> Ethernet<'d, T, P> {
|
|||||||
// TODO: Carrier sense ? ECRSFD
|
// TODO: Carrier sense ? ECRSFD
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Set the mac to pass all multicast packets
|
||||||
|
mac.macffr().modify(|w| {
|
||||||
|
w.set_pam(true);
|
||||||
|
});
|
||||||
|
|
||||||
// Note: Writing to LR triggers synchronisation of both LR and HR into the MAC core,
|
// Note: Writing to LR triggers synchronisation of both LR and HR into the MAC core,
|
||||||
// so the LR write must happen after the HR write.
|
// so the LR write must happen after the HR write.
|
||||||
mac.maca0hr()
|
mac.maca0hr()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user