Dong Heng
27ddf02181
fix(lwip): Fix low-level send IRAM data
2018-07-16 15:48:22 +08:00
Dong Heng
097c8aa0cc
feat(lwip): Add function to sync "shutdown"
2018-07-11 10:22:25 +08:00
Dong Heng
1ba1e5ccbd
feat(task): Change all tasks size 4 times the original
2018-07-09 20:11:41 +08:00
Dong Heng
c1d7df514c
feat(lwip): Use "glue" API to replace LWIP raw socket function
2018-07-09 17:10:49 +08:00
Wu Jian Gang
8f5bda0297
Merge branch 'feature/make_raw_lwip_api_disable' into 'master'
...
feat(lwip): Make raw LWIP API disable
See merge request sdk/ESP8266_RTOS_SDK!273
2018-07-06 20:42:54 +08:00
Dong Heng
0dc928dca5
feat(lwip): Make raw LWIP API disable
2018-07-06 20:38:33 +08:00
Wu Jian Gang
5aae956ba7
Merge branch 'bugfix/fix_dhcpserver_cannot_release_station_info_on_time' into 'master'
...
fix(lwip): Fix dhcpserver cannot release dhcpclient info on time
See merge request sdk/ESP8266_RTOS_SDK!266
2018-07-06 19:39:21 +08:00
Zhang Jun Hao
854636dbff
fix(lwip): Fix dhcpserver cannot release dhcpclient info on time
2018-07-06 18:59:13 +08:00
Dong Heng
9f998c64f5
feat(lwip): Fix UDP recv NULL package
2018-07-06 18:00:05 +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
Zhang Jun Hao
922b2819ff
fix(esp8266): Fix send softap event id error
2018-06-28 17:52:13 +08:00
Zhang Jun Hao
9d0b024433
feat(esp8266): Refactor ets system headler file
2018-06-27 11:39:50 +08:00
Zhang Jun Hao
2caf744a72
feat(lwip): Refactor dhcpserver APIs
2018-06-26 21:50:11 +08:00
Zhang Jun Hao
b041d65caa
feat(tcpip_adapter): Refactor tcpip_adapter APIs
2018-06-26 21:50:11 +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
Dong Heng
cccd058783
feat(lwip): Format code
2018-06-25 17:20:58 +08:00
Zhang Jun Hao
15bf619aed
feat(lwip): Modify lwip according to new wifi APIs
2018-06-25 10:15:37 +08:00
Wu Jian Gang
9252eafdf3
fix(lwip): Fix warning in lwip
2018-05-25 16:39:34 +08:00
Wu Jian Gang
f5dc5fd2a1
fix(lwip): Fix warning in dhcpserver
2018-05-25 16:39:30 +08:00
Wu Jian Gang
1cd5a36bdf
feat: Don't use esp_common.h in SDK
2018-05-25 09:03:45 +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
291c94b501
feat: Remove the use of os_printf in SDK
2018-05-24 19:52:43 +08:00
Wu Jian Gang
91f7080231
fix: Fix all files when change to use standard typedef
2018-05-24 19:27:41 +08:00
Wu Jian Gang
17491ca253
fix(lwip): Fix compile issue while remove define of TRUE/FALSE
2018-05-24 15:35:40 +08:00
Wu Jian Gang
f1d2152991
feat(esp8266): Don't use LOCAL in SDK
2018-05-24 15:30:47 +08:00
Wu Jian Gang
b9922f5116
fix: Fix warning while esp_libc update
2018-05-24 14:47:14 +08:00
Wu Jian Gang
d75ffa61eb
feat(esp8266): Don't use ICACHE_RODATA_ATTR to let string to be in flash
...
rodata will be in flash by default.
2018-05-24 11:02:34 +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
Trygve Laugstøl
f82e9be787
fix: Fixing lots of compilation warnings
...
- fix(esp8266):
- Adding includes for missing symbols.
- Removing unused variables.
- Skip unsupported packing pragmas.
- Add rom_functions.h for symbols that come from the ESP ROM. Add attributes on
ets_printf so GCC will check the syntax of the formatting string and types of
the arguments.
- Add ETS_GPIO_INTR_EN(DIS)ABLE macro.
- Use gpio_output_conf instead of gpio_output_set.
- fix(freertos):
- Define functions that are useful.
- Use correct printf symbols when printing.
- fix(lwip):
- Ignore the warning in sntp.
- fix(mqtt):
- `xTicksToWait` is unsigned, can't check for less than zero. Remove
unused variables.
- fix(newlib):
- `_free_r()` returns `void`, not `void *`.
- Adding includes for missing symbols.
- fix(ssl):
- Make sure functions always return a value.
Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/188
2018-05-23 14:52:26 +08:00
Wu Jian Gang
6fbcd9f823
feat(lwip): Restructure lwip folder to support different platform
2018-05-20 21:30:59 +08:00
Trygve Laugstøl
96c273895b
feat: Removing executable file mode for code most files
...
Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/186
2018-05-20 20:39:38 +08:00
Dong Heng
900e3613f8
feat(lwip): Add thread local semaphore to sync thread
2018-05-14 19:01:15 +08:00
Zhang Jun Hao
3d4f7e20af
feat(lwip): Optimize the configuration options for lwip
2018-05-08 16:45:52 +08:00
Dong Heng
3a6e911906
feat(lwip): Add cmake script
2018-05-04 14:23:30 +08:00
Wu Jian Gang
002bd57e76
Merge branch 'feature/use_sntp_in_lwip' into 'master'
...
feat(lwip): Use sntp in lwip
See merge request sdk/ESP8266_RTOS_SDK!121
2018-05-04 13:54:12 +08:00
Wu Jian Gang
e9308e6266
fix(lwip): Fix definition conflict
2018-05-04 11:56:48 +08:00
Wu Jian Gang
3918cb633b
feat(lwip): Integrate sntp with newlib time
2018-05-04 08:57:32 +08:00
Wu Jian Gang
0cffd7b916
feat(lwip): Remove ported sntp
2018-05-04 08:57:32 +08:00
Wu Jian Gang
e41455d2f6
Merge branch 'feature/fix_warning_in_lwip' into 'master'
...
feat(lwip): Fix compile warning in lwip
See merge request sdk/ESP8266_RTOS_SDK!119
2018-05-03 15:27:50 +08:00
Zhang Jun Hao
60d90dee90
feat(lwip): Fix compile warning in lwip
2018-05-03 15:22:09 +08:00
Wu Jian Gang
fc4c60d269
fix(lwip): Minor fix for debug configuration
2018-05-03 15:15:46 +08:00
Zhang Jun Hao
2c05ca3151
feat(lwip): Modify lwipopts and add menunconfig
...
1. Disable multi-socket.
2. Add menuconfig of lwip options.
3. Use os_malloc/os_calloc/os_free instead of malloc/calloc/free in lwip.
2018-05-02 17:10:30 +08:00
Zhang Jun Hao
de7856864d
feat(lwip): Modify lwip port according to the lwip library update
...
1. Change ip_addr/ip_addr_t to ip4_addr/ip4_addr_t.
2. Use GCC error number instead of lwip error define.
3. Change the unit of sys_now to milliseconds.
2018-05-02 16:40:12 +08:00
Zhang Jun Hao
8f93ab7629
feat(lwip): Update lwip from 1.4.0 to 2.0.3
...
Source: https://git.savannah.nongnu.org/git/lwip.git
2018-04-30 12:23:02 +08:00
Dong Heng
ee5e49a703
feat(LWIP): Transform custom pbuf to raw pbuf at output LWIP packet
2018-04-26 16:46:35 +08:00
Dong Heng
f23d3fc404
feat(lwip): LWIP and tcpip adapter using esp_socket to read/write low-level data
2018-04-24 15:14:16 +08:00