-
Notifications
You must be signed in to change notification settings - Fork 3k
Feature-emac combined merge #6903
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
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.
- Added non-blocking DNS interface to network interface and network stack. - Added caching of DNS replies. - Added a network stack function to get DNS addresses from stack. - Added call and call_in hooks to onboard network stack to allow calling functions from onboard stack context. - Added support to call and call_in functions to LWIP and Nanostack. - Disabled LWIP DNS translator with the exception of DNS address storage used in DNS address get.
- Changed call_in/call methods of the stack to callback provided by the stack - Specified what are limitations for operations that are made in callback - Added pure virtual class DNS that defines DNS operations - Added cancel operation and unique ID to DNS request used in cancel - Added DNS configuration options to netsocket/mbed_lib.json for retries, response wait time and cache size - Changed host name to use dynamic memory in DNS query list and cache, set maximum length for the name to 255 bytes. - Added mutex to asynchronous DNS - Reworked retries: there is now total retry count and a server specific count - Ignores invalid incoming UDP socket messages (DNS header is not valid), and retries DNS query - Reworked DNS module asynchronous operation functions - Corrected other review issues (nothrow new, missing free, missing mutex unlock etc.)
- Serialized the sending of multiple async DNS queries since limits on event message box sizes - Added timer function that supervises the total time used to make DNS query and triggers socket timeouts - Changed nsapi_error_t to new nsapi_value_or_error_t on interface headers - Corrected wording of gethostbyname_async return values - Clarified .json options - Added a new data type for socket callback that can be used from interrupts - Corrected variable limits to use INT32_MAX etc. defines - Changed mallocs to new - Optimized variable sizes on DNS_QUERY definition
- Changed mutexes to platform mutexes - Removed not needed null check from delete - Changed nsapi_dns_call_in_set() to use call_in_callback_cb_t and added prototype to header
…y-merge * pr6751: Changed mutexes, delete and DNS call in callback set Corrected more defects Corrected defects - Changed call_in/call methods of the stack to callback provided by the stack - Specified what are limitations for operations that are made in callback - Added pure virtual class DNS that defines DNS operations - Added cancel operation and unique ID to DNS request used in cancel - Added DNS configuration options to netsocket/mbed_lib.json for retries, response wait time and cache size - Changed host name to use dynamic memory in DNS query list and cache, set maximum length for the name to 255 bytes. - Added mutex to asynchronous DNS - Reworked retries: there is now total retry count and a server specific count - Ignores invalid incoming UDP socket messages (DNS header is not valid), and retries DNS query - Reworked DNS module asynchronous operation functions - Corrected other review issues (nothrow new, missing free, missing mutex unlock etc.) Added non-blocking DNS functionality to network interface * pr6834: Implementation of unified EMAC driver for Renesas mbed boards * pr6874: [M487/NUC472] Fix tx frame length and remove GPL license [M487/NUC472] Support DHCP & TCP sample, also remove legacy emac [M487/NUC472] Support new EMAC feature, built OK
/morph build |
Build : SUCCESSBuild number : 2020 Triggering tests/morph test |
Test : FAILUREBuild number : 1827 |
Exporter Build : SUCCESSBuild number : 1670 |
/morph test |
Test : FAILUREBuild number : 1843 |
Have re-started the please ignore the above failure |
Test : FAILUREBuild number : 1844 |
/morph test |
Test : SUCCESSBuild number : 1848 |
Description
Pull in 2 EMAC drivers and DNS changes into
feature-emac
Combines 3 approved PRs:
Combined to accelerate CI testing.
Pull request type