26 Commits

Author SHA1 Message Date
ee60c285fa feat(lwip): Add pbuf list to resend ERR_MEM pbuf 2018-07-27 17:00:46 +08:00
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
e92178b896 fix(LWIP): Fix WIFI send error 2018-07-25 13:16:45 +08:00
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
da0d4cb749 feat(LWIP): Socket(not server) must has linger
Server linger must be disable.
2018-07-19 14:32:29 +08:00
765754f10d Merge branch 'bugfix/fix_ap_send_udp_pkt_use_sta_netif' into 'master'
fix(lwip): fix the bug that ip_route get wrong netif

See merge request sdk/ESP8266_RTOS_SDK!309
2018-07-19 10:39:20 +08:00
1883c4c2cd fix(lwip): fix netif mac addr is not right 2018-07-18 20:10:44 +08:00
2b17b7280f fix(lwip): fix the bug that ip_route get wrong netif 2018-07-18 17:26:37 +08:00
27ddf02181 fix(lwip): Fix low-level send IRAM data 2018-07-16 15:48:22 +08:00
c1d7df514c feat(lwip): Use "glue" API to replace LWIP raw socket function 2018-07-09 17:10:49 +08:00
0dc928dca5 feat(lwip): Make raw LWIP API disable 2018-07-06 20:38:33 +08:00
3f6158a2ce feat(lwip): Fix LWIP socket mt header file warning 2018-06-29 14:10:26 +08:00
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
922b2819ff fix(esp8266): Fix send softap event id error 2018-06-28 17:52:13 +08:00
b041d65caa feat(tcpip_adapter): Refactor tcpip_adapter APIs 2018-06-26 21:50:11 +08:00
e912bc25fa feat(lwip): Add multi-thread support 2018-06-26 19:50:45 +08:00
bf0b8c8bb6 feat(esp8266): Modify old system APIs to new ones 2018-06-25 20:37:38 +08:00
15bf619aed feat(lwip): Modify lwip according to new wifi APIs 2018-06-25 10:15:37 +08:00
9252eafdf3 fix(lwip): Fix warning in lwip 2018-05-25 16:39:34 +08:00
e518650b36 feat: Don't use c_types.h in SDK 2018-05-24 20:41:29 +08:00
291c94b501 feat: Remove the use of os_printf in SDK 2018-05-24 19:52:43 +08:00
b9922f5116 fix: Fix warning while esp_libc update 2018-05-24 14:47:14 +08:00
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
3cf0c97966 feat(esp8266): Use printf default in header files 2018-05-24 10:34:28 +08:00
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
6fbcd9f823 feat(lwip): Restructure lwip folder to support different platform 2018-05-20 21:30:59 +08:00