lwip update
* The mdns responder has been reworked to lower stack and memory usage. This is a variation on the upstream code, it use malloc whereas the upstream code uses pools. The high stack usage of the mdns responder was problem for esp-open-rtos, so we might have to maintain the differences for now. * Improved lwip core locking, and lock checking. Upstream improvements, that need some added support from esp-open-rtos specific code. More core lock is performed when calling from the esp-open-rtos code now, so a little safer. The checking is not enforced, but projects might see warning messages and might want to look into them. * The esp-open-rtos lwip support has been sync'ed with the new freertos port included with lwip. There are still some minor differences. * A few lwip timer bugs have been resolved. This might help resolve some issues. * Plus it picks up all the other upstream fixes and improvements. * The default lwip stack has been lowered from 768 words to 480 words, due to the reduced stack usage by the mdns responder.
This commit is contained in:
parent
5f8b3d43c7
commit
3c81f7d587
12 changed files with 345 additions and 185 deletions
|
|
@ -24,8 +24,10 @@ extern void *sdk_g_cnx_probe_rc_list_cb;
|
|||
*/
|
||||
void dhcp_if_down(struct netif *netif)
|
||||
{
|
||||
LOCK_TCPIP_CORE();
|
||||
dhcp_release_and_stop(netif);
|
||||
netif_set_down(netif);
|
||||
UNLOCK_TCPIP_CORE();
|
||||
}
|
||||
|
||||
struct sdk_cnx_node *sdk_cnx_rc_search(uint8_t *hwaddr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue