254 Commits

Author SHA1 Message Date
106ff9f5ef Merge branch 'bugfix/fix_warning_in_freertos_port' into 'master'
fix(esp8266): Fix warning in port.c by using different section name

See merge request sdk/ESP8266_RTOS_SDK!206
2018-05-31 17:35:46 +08:00
39da4bd87b Merge branch 'bugfix/fix_warning_in_mqtt' into 'master'
fix(mqtt): Fix warning in mqtt

See merge request sdk/ESP8266_RTOS_SDK!205
2018-05-31 17:35:28 +08:00
ed329c10dd fix(esp8266): Fix warning in port.c by using different section name 2018-05-31 16:28:18 +08:00
6c1765ff97 fix(mqtt): Fix warning in mqtt 2018-05-31 16:01:44 +08:00
b1a92ea020 fix(esp8266): Include dependent header files in ets_sys.h
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/200
2018-05-31 15:10:19 +08:00
19452fbd21 Merge branch 'bugfix/syscall_invalid_function' into 'master'
fix(newlib): Fixed invalid function descriptions

See merge request sdk/ESP8266_RTOS_SDK!201
2018-05-31 13:49:04 +08:00
bbbea4c865 Merge branch 'feature/add_esp_log' into 'master'
Add esp log component

See merge request sdk/ESP8266_RTOS_SDK!202
2018-05-31 09:39:48 +08:00
0ca5fa1850 refactor(log): Refactor log to make it easy to use and twice develop 2018-05-30 15:33:08 +08:00
c4e7831db1 fix(newlib): Fixed invalid function descriptions
Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/196
2018-05-30 15:14:05 +08:00
ac5a210287 Merge branch 'feature/modify_openssl_according_to_new_mbedtls' into 'master'
feat(mbedtls): Modify openssl according to mbedtls V2.8.0

See merge request sdk/ESP8266_RTOS_SDK!160
2018-05-30 14:46:32 +08:00
dee512e200 feat(log): Bring log component from esp-idf 2018-05-30 10:01:32 +08:00
5340fae48b feat(mbedtls): Modify openssl according to mbedtls V2.8.0
1. Remove SSL_CTX_set_default_read_buffer_len and SSL_set_default_read_buffer_len.
2. Add SSL_CTX_load_verify_buffer to load CA certification.
2018-05-25 20:42:11 +08:00
e15f211d46 feat(esp8266): Add "putc" and "vprintf" of version "ets_" 2018-05-25 19:28:36 +08:00
9252eafdf3 fix(lwip): Fix warning in lwip 2018-05-25 16:39:34 +08:00
f5dc5fd2a1 fix(lwip): Fix warning in dhcpserver 2018-05-25 16:39:30 +08:00
37a43c7598 fix(net80211): Fix receive unicast packet fail in softap mode
commit wrong lib in 9ad41a53
2018-05-25 15:40:57 +08:00
9ad41a5364 fix(net80211): Fix receive unicast packet fail in softap mode 2018-05-25 14:42:18 +08:00
1cd5a36bdf feat: Don't use esp_common.h in SDK 2018-05-25 09:03:45 +08:00
092ecbfdd5 feat(esp8266): Remove esp_common.h & espconn.h 2018-05-25 09:03:44 +08:00
e518650b36 feat: Don't use c_types.h in SDK 2018-05-24 20:41:29 +08:00
d0c7e2f1d0 feat(esp8266): Remove c_types.h 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
91f7080231 fix: Fix all files when change to use standard typedef 2018-05-24 19:27:41 +08:00
27892430ee feat(esp8266): Remove esp typedef
Use standard typedef in stdint.h
2018-05-24 15:54:25 +08:00
5ff597c90c fix(driver): Fix the compile issue when STATUS define moved 2018-05-24 15:50:19 +08:00
82474c8f63 feat(esp8266): Move the define os STATUS to esp_sta.h 2018-05-24 15:49:56 +08:00
3ce6c4cc98 feat(esp8266): Remove the define of NULL 2018-05-24 15:46:47 +08:00
17491ca253 fix(lwip): Fix compile issue while remove define of TRUE/FALSE 2018-05-24 15:35:40 +08:00
d230288823 feat(esp8266): Remove the define of BOOL/TRUE/FALSE 2018-05-24 15:35:07 +08:00
f1d2152991 feat(esp8266): Don't use LOCAL in SDK 2018-05-24 15:30:47 +08:00
16c6784e66 feat(esp8266): Remove the define of LOCAL 2018-05-24 15:21:10 +08:00
26e825b0de feat(esp8266): Add ets_printf in SDK side 2018-05-24 15:04:56 +08:00
00765800e7 Merge branch 'feature/dont_use_icache_flash_attr' into 'master'
feat(esp8266): Don't use ICACHE_FLASH_ATTR in SDK side

See merge request sdk/ESP8266_RTOS_SDK!183
2018-05-24 15:03:08 +08:00
b9922f5116 fix: Fix warning while esp_libc update 2018-05-24 14:47:14 +08:00
98d01eb5f7 feat(esp8266): Remove standard prototype in esp_libc.h 2018-05-24 14:45:14 +08:00
7d257e3d6a Merge branch 'feature/add_cap_to_heap' into 'master'
Add access align capacity to heap API

See merge request sdk/ESP8266_RTOS_SDK!171
2018-05-24 14:11:13 +08:00
706989602f feat(esp8266): Don't use ICACHE_FLASH_ATTR in SDK side
Missed one file in commit 29f5577a
2018-05-24 14:08:42 +08:00
29f5577ac6 feat(esp8266): Don't use ICACHE_FLASH_ATTR in SDK side 2018-05-24 12:38:06 +08:00
2367c49137 feat(esp8266): Add new esp attr defines
Remove ICACHE_FLASH_ATTR
2018-05-24 12:38:06 +08:00
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
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
4a64469c7d Merge branch 'feature/put_rodata_in_flash_by_default' into 'master'
feat(ld): Put rodata into flash by default

See merge request sdk/ESP8266_RTOS_SDK!178
2018-05-24 10:43:09 +08:00
def014f43e feat(esp8266): Update ESP8266 library
1. Todo: Update smartconfig
2. minic will not be update later
2018-05-24 10:39:53 +08:00
19f8a92a04 feat(esp8266): Add access align capacity to heap API 2018-05-24 10:39:40 +08:00
3cf0c97966 feat(esp8266): Use printf default in header files 2018-05-24 10:34:28 +08:00
2e1fb87aaf feat(heap): Fix heap parameters
Line = 0 will make it alloc memory at iram.
2018-05-24 10:26:17 +08:00
7665082ad0 feat(esp8266): Make os_printf equal to printf
Since the string used by printf are put in flash by default.
Don't need the old os_printf to define a macro to put string to flash manually.
2018-05-24 10:17:00 +08:00
36d8852194 feat(ld): Put rodata into flash by default
except rodata in libpp.a
2018-05-24 09:57:07 +08:00
73f23833ec Make sure vShowMalloc() doesn't crash.
fix(freertos): Only show the file name if the pointer is not NULL. Try
to shorten the path to only the last components (mydir/foo.c =>
foo.c). Use fixed-width specifiers instead of tab characters.

Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/192
2018-05-24 08:57:36 +08:00
c31e4a3633 Improve pvPortMalloc() and family.
fix(freertos): Better implementation of realloc, calloc and zalloc.
Implement them with the same symmetry as malloc. Removes duplicate and
nearly identical implementations. Make the libc symbols aliases of the
non-tracing versions.

This improves on my previous patch for espressif/ESP8266_RTOS_SDK#189.
2018-05-24 08:57:29 +08:00