Commit Graph

23 Commits

Author SHA1 Message Date
Dong Heng
5f61afc090 feat(freertos): add feature to modify task stack deepth dynamically 2020-07-17 16:58:47 +08:00
Dong Heng
99de07db83 feat(freertos): add thread local private "errno" 2020-03-13 10:24:54 +08:00
dongheng
1e69cbd242 feat(gdbstub): modify GDB stub for ESP8266 2019-12-19 11:33:38 +08:00
dongheng
0ce7b87da6 chore(esp_ringbuf): Divide ringbuf as a independent component from freertos
Other OSes platform also can use ringbuf without freertos.
2019-04-04 15:31:34 +08:00
Dong Heng
a4369522b9 feat(heap): Remove old heap and modify old heap API 2018-09-12 11:12:30 +08:00
xiewenxiang
97335027c7 refactor(driver): Refactor uart driver for esp8266 idf 2018-08-10 13:39:53 +08:00
Trygve Laugstøl
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
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
ba4dfbed74 feat(freertos): Restructure freertos folder to support different platform 2018-05-20 21:29:56 +08:00
Wu Jian Gang
b0afbf3cd0 Merge branch 'master' into 'feature/newlib'
# Conflicts:
#   components/freertos/include/port/freertos/FreeRTOSConfig.h
2018-05-18 15:00:11 +08:00
Dong Heng
d7e96f9ea0 feat(newlib): Add lock function
Fixed some warnings due to the lack of macrodefinition.
2018-05-16 10:03:09 +08:00
Dong Heng
0c633ce7ce feat(freertos): Use "reent" default. 2018-05-14 17:24:29 +08:00
Dong Heng
94fc5d6276 feat(freertos): Add FreeRTOS private data API 2018-05-14 16:55:15 +08:00
Dong Heng
30de450816 feat(newlib): Add newlib platform function 2018-05-14 14:30:42 +08:00
Dong Heng
3a724ca78c feat(kconfig): Add option to kconfig
Add option to enable reent function.
2018-05-11 14:26:57 +08:00
Wu Jian Gang
2f058746c0 Merge branch 'feature/update_freertos_to_newest' into 'master'
update freertos to v10.0.1

See merge request sdk/ESP8266_RTOS_SDK!95
2018-04-27 20:58:20 +08:00
Dong Heng
8418cb26d2 feat(freertos): Make components compiling OK 2018-04-27 20:54:32 +08:00
Dong Heng
e10c902c3e feat(freertos): Update FreeRTOS version to TAG 1.2.3
URL: https://github.com/aws/amazon-freertos
2018-04-27 20:54:32 +08:00
Dong Heng
48f338bf35 feat(freertos): Change FreeRTOS directory structure to prepare updating it 2018-04-27 19:54:53 +08:00
Dong Heng
632af7388e feat(esp8266): Add panic function when crash 2018-04-27 17:54:26 +08:00
Dong Heng
bd343310d4 feat(freertos): Change macro "HDL_MAC_SIG_IN_LV1_ISR" to function 2018-04-19 17:37:33 +08:00
Wu Jian Gang
e3cdb2dae3 feat(structure): Re-structure some include 2018-04-08 20:42:35 +08:00
Wu Jian Gang
90e6243abe feat(freertos): Move freertos to components 2018-04-04 19:58:48 +08:00