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
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
3c560f678a
feat(driver): Clean up header files dependency
2018-05-23 16:43:29 +08:00
78bdcf043e
feat(driver): Use standard typedef
2018-05-23 15:24:05 +08:00
3b28e58a3e
feat(driver): Use static instead of LOCAL
2018-05-23 15:17:00 +08:00
84781e3d37
feat(driver): Don't need to use ICACHE_FLASH_ATTR
2018-05-23 15:16:16 +08:00
a08d0711a4
feat(driver): Use astyle to format the code
2018-05-23 15:16:16 +08:00
ae6c134ec4
feat(driver): Update to use apache license
2018-05-23 15:14:08 +08:00