From: xueyunfei Date: Thu, 15 Aug 2019 03:17:15 +0000 (+0800) Subject: fix bug for nonblocking udp is zero X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36920b4062535bd7abed1ceee1c73922d98b8878;p=esp-idf fix bug for nonblocking udp is zero --- diff --git a/components/lwip/linker.lf b/components/lwip/linker.lf index 157e4b88bc..ec48930ea7 100644 --- a/components/lwip/linker.lf +++ b/components/lwip/linker.lf @@ -7,6 +7,7 @@ entries: sockets:tryget_socket_unconn (noflash_text) sockets:sock_inc_used (noflash_text) sockets:tryget_socket_unconn_nouse (noflash_text) + sockets:tryget_socket_unconn_locked (noflash_text) sockets:done_socket (noflash_text) sockets:lwip_recvfrom (noflash_text) sockets:lwip_recv_tcp (noflash_text) @@ -15,6 +16,8 @@ entries: sockets:lwip_send (noflash_text) sockets:lwip_sendto (noflash_text) sockets:event_callback (noflash_text) + sockets:lwip_select (noflash_text) + sockets:select_check_waiters (noflash_text) api_lib:netconn_apimsg (noflash_text) api_lib:netconn_recv_data (noflash_text) api_lib:netconn_tcp_recvd_msg (noflash_text) diff --git a/components/lwip/lwip b/components/lwip/lwip index 663b2fdb41..8c801667e8 160000 --- a/components/lwip/lwip +++ b/components/lwip/lwip @@ -1 +1 @@ -Subproject commit 663b2fdb41177c82f2aa5939e41aef54427d15cd +Subproject commit 8c801667e8586ae6dedf80d13aaaec71b7b9a33d diff --git a/components/lwip/port/esp32/include/lwipopts.h b/components/lwip/port/esp32/include/lwipopts.h index e37d272ccc..5b85fc6ccf 100644 --- a/components/lwip/port/esp32/include/lwipopts.h +++ b/components/lwip/port/esp32/include/lwipopts.h @@ -778,6 +778,7 @@ #define ESP_PPP 1 #define ESP_IPV6 1 #define ESP_SOCKET 1 +#define ESP_LWIP_SELECT 1 #ifdef ESP_IRAM_ATTR #undef ESP_IRAM_ATTR