Dong Heng
e19f612606
fix(lwip): fix TCP pbuf memory leak
...
Disable TCP cache and retry function.
2018-12-05 10:10:45 +08:00
Chen Wen
ee32bdc336
feat(lwip): Add to prevent switch to tcpip thread between mbox post and sem wait
2018-11-09 17:57:52 +08:00
Dong Heng
08f8e94544
Merge branch 'feature/config_tcpip_mbox_size' into 'master'
...
Add configuration for TCPIP mailbox size
See merge request sdk/ESP8266_RTOS_SDK!582
2018-11-09 14:09:57 +08:00
Dong Heng
bec67cfa7b
feat(lwip): Add IPv6 multicast for socket
2018-10-31 18:57:24 +08:00
Dong Heng
c5260df6af
Merge branch 'feature/add_lwip_app_ping' into 'master'
...
feat(lwip): Add ping function(Commit ID: b650d19c)
See merge request sdk/ESP8266_RTOS_SDK!590
2018-10-31 09:51:14 +08:00
Dong Heng
bf66a8412c
feat(lwip): Add ping function
...
Commit ID: b650d19c
2018-10-30 16:39:57 +08:00
Dong Heng
8711d2f133
feat(lwip): Enable DHCP AUTOIP COOP when enable AUTOIP
2018-10-29 17:24:57 +08:00
Dong Heng
48648ce3ed
feat(lwip): Add configuration for TCPIP mailbox size
2018-10-24 19:45:12 +08:00
Piyush Shah
636b64846a
esp8266_lwip: Use CONFIG_LWIP_MAX_SOCKETS to set the maximum sockets
...
Signed-off-by: Piyush Shah <piyush@espressif.com >
2018-10-19 03:33:19 +05:30
Dong Heng
bae4ce3b97
fix(lwip): Fix LwIP header file cc.h string format error
...
Closes: https://github.com/espressif/ESP8266_RTOS_SDK/issues/340
2018-10-16 09:42:08 +08:00
Dong Heng
bece9a06e7
Merge branch 'feature/refactor_udp_sync' into 'master'
...
Refactor LWIP UDP sync
See merge request sdk/ESP8266_RTOS_SDK!535
2018-10-15 09:41:19 +08:00
Dong Heng
34ae970f82
refactor(lwip): Refactor LWIP UDP sync
2018-10-11 15:45:02 +08:00
Zhang Jun Hao
6fcf4ba8a8
feat(lwip): Add LWIP_ND6_RDNSS_MAX_DNS_SERVERS to menuconfig
...
fixs: https://github.com/espressif/ESP8266_RTOS_SDK/issues/332
2018-10-10 21:28:04 +08:00
Dong Heng
5a850813c7
fix(lwip): Fix UDP sync no clear cache when close socket.
2018-09-27 09:25:45 +08:00
Dong Heng
54cd3f4b61
feat(sdk): Midify "__FILE__" to "__ESP_FILE__" for some components
2018-09-21 13:04:59 +08:00
Dong Heng
458c10bc2f
feat(lwip): Modify LWIP memory managment API to debug more easily
2018-09-20 20:31:44 +08:00
Dong Heng
54a8707ee9
feat(lwip): Move "netinet/in.h" to "port/netinet/in.h"
2018-09-13 16:45:50 +08:00
Dong Heng
1bcf71895c
Merge branch 'feature/add_arpa_inet_h' into 'master'
...
Add "arpa/inet.h" header file
See merge request sdk/ESP8266_RTOS_SDK!430
2018-09-13 15:28:18 +08:00
Dong Heng
1c7ac67bfe
feat(lwip): Add "arpa/inet.h" header file
2018-09-13 15:27:02 +08:00
Dong Heng
ce470425e8
feat(lwip): Add <netinet/in.h> header file
2018-09-13 13:31:35 +08:00
Dong Heng
1ca16e5a13
feat(lwip): Add UDP sync process trigger
2018-09-07 16:12:16 +08:00
Dong Heng
64771597fd
fix(lwip): Fix UDP sync send error
2018-08-28 15:32:35 +08:00
Dong Heng
35ee995327
fix(components): Fix all components's compile warning and enable warning checking
2018-08-07 15:42:28 +08:00
Zhang Jun Hao
c966dd04da
feat(lwip): make tcp fast timer to 125ms and make rto to 250ms
2018-07-31 12:48:37 +08:00
Dong Heng
cf46ba82be
feat(lwip): Add socket UDP sync function
2018-07-30 20:30:04 +08:00
Dong Heng
8af3aa5ccf
Merge branch 'feature/add_pbuf_list' into 'master'
...
feat(lwip): Add pbuf list to resend ERR_MEM pbuf
See merge request sdk/ESP8266_RTOS_SDK!329
2018-07-30 20:27:22 +08:00
Dong Heng
5410921e61
feat(lwip): Modify lwip main task priority.
...
esp-idf's value is "configMAX_PRIORITIES-7", so with the fix they are same.
2018-07-27 19:10:38 +08:00
Zhang Jun Hao
ee60c285fa
feat(lwip): Add pbuf list to resend ERR_MEM pbuf
2018-07-27 17:00:46 +08:00
Dong Heng
74e013e493
feat(LWIP): Fix IRAM pbuf never send
...
WIFI only can send DRAM data, so if upper layer pbuf payload is
IRAM data, here it must be copy to DRAM.
We add "pbuf_alloc_ll" to reduce this happen.
2018-07-25 19:18:12 +08:00
Wu Jian Gang
45792bae33
Merge branch 'feature/socket_with_so_link' into 'master'
...
Socket(not server) must has linger
See merge request sdk/ESP8266_RTOS_SDK!313
2018-07-19 19:42:50 +08:00
Dong Heng
da0d4cb749
feat(LWIP): Socket(not server) must has linger
...
Server linger must be disable.
2018-07-19 14:32:29 +08:00
Zhang Jun Hao
2b17b7280f
fix(lwip): fix the bug that ip_route get wrong netif
2018-07-18 17:26:37 +08:00
Dong Heng
c1d7df514c
feat(lwip): Use "glue" API to replace LWIP raw socket function
2018-07-09 17:10:49 +08:00
Dong Heng
0dc928dca5
feat(lwip): Make raw LWIP API disable
2018-07-06 20:38:33 +08:00
Dong Heng
3f6158a2ce
feat(lwip): Fix LWIP socket mt header file warning
2018-06-29 14:10:26 +08:00
Wu Jian Gang
2dee4bc59f
Merge branch 'feature/lwip_use_thread_saft_and_thread_sync' into 'master'
...
Add multi-thread support
See merge request sdk/ESP8266_RTOS_SDK!239
2018-06-29 11:46:40 +08:00
Dong Heng
e912bc25fa
feat(lwip): Add multi-thread support
2018-06-26 19:50:45 +08:00
Dong Heng
bf0b8c8bb6
feat(esp8266): Modify old system APIs to new ones
2018-06-25 20:37:38 +08:00
Wu Jian Gang
9252eafdf3
fix(lwip): Fix warning in lwip
2018-05-25 16:39:34 +08:00
Wu Jian Gang
e518650b36
feat: Don't use c_types.h in SDK
2018-05-24 20:41:29 +08:00
Wu Jian Gang
46d51ac826
Merge branch 'feature/os_printf_equal_to_printf' into 'master'
...
feat(esp8266): Make os_printf equal to printf
See merge request sdk/ESP8266_RTOS_SDK!179
2018-05-24 10:58:39 +08:00
Wu Jian Gang
3cf0c97966
feat(esp8266): Use printf default in header files
2018-05-24 10:34:28 +08:00
Trygve Laugstøl
24ef94f811
Improve pvPortMalloc()
and family.
...
fix(esp8266): If MEMLEAK_DEBUG is defined, create an alternate function
called `.._trace` that for each of `pvPortMalloc`, `pvPortZalloc`,
`pvPortCalloc` and `vPortFree`. The original function delegates to this new
tracing function but uses NULL and 0 for the file and line number. This ensures
that the pvPortMalloc exists as a symbol that can be used by the binary blobs
without any problems.
Example output from earlier usage:
~~~
--------Show Malloc--------
F:ppT L:512 malloc 2064 @ 0x3ffefd08
F:pmT L:256 malloc 1040 @ 0x3fff0518
F:tiT L:512 malloc 2064 @ 0x3fff0928
F:uiT L:640 malloc 2576 @ 0x3fff1138
F:IDLE L:176 malloc 720 @ 0x3fff1b48
F:Tmr Svc L:512 malloc 2064 @ 0x3fff1e18
~~~
fix(lwip): Remove declarations of `pvPortMalloc()` and family.
This fixes some of the issues in espressif/ESP8266_RTOS_SDK#189 but some of the
example applications fails. Not ready for merge but comments on my approach
will be appreciated.
2018-05-24 08:57:21 +08:00
Wu Jian Gang
6fbcd9f823
feat(lwip): Restructure lwip folder to support different platform
2018-05-20 21:30:59 +08:00