-
Notifications
You must be signed in to change notification settings - Fork 3k
Implementation of unified EMAC driver for Renesas mbed boards #6834
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me, just a little multicast tweak.
tsu_ten_tmp |= (1 << cnt); | ||
break; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unlikely to happen, but if you run out of room in the 32-entry table, you should do "set all multicast". You can't leave the caller unable to receive the group they asked for.
|
Ok. I will update my code in based on your above comment and rebase my commit after that. |
|
|
@kjbracey-arm Sorry to bother you again. It is seems that the above phenomenon occured by a mistake of my environment and test order. |
Implementation of unified EMAC driver for Renesas mbed boards Based on the driver so far, Renesas implemented the emac driver for GR-PEACH and VK-RZ/A1H. The mainly changes is below. - Add the connection part with LWIP according to the unified emac specification. - Add three new multicast functions(add, remove, set_all). The Greentea test netsocket and emac test passed.
5870914
to
3a2a0c9
Compare
I rebased my commit with reflected the above comment regarding multicast. |
Description
Based on the driver so far, Renesas implemented the emac driver for GR-PEACH and VK-RZ/A1H.
The Greentea test netsocket and emac test passed. Test results are here.
test_all_GCC_GR-PEACH.txt
test_emac_GCC_GR-PEACH.txt
Pull request type
[ ] Fix
[x] Refactor
[ ] New target
[] Feature
[ ] Breaking change