Files
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
..
2018-05-14 14:51:16 +08:00
2018-05-04 16:48:23 +08:00

README

esp-idf compile and 'AR' user program as target library 'libmain.a', so we should not use
library which is named 'libmain.a'. We use 'libcore.a' instead of it.

As I konwn, you can do following:

1. rename libmain.a to libcore.a
2. change text 
        "*libmain.a:spi_flash.o(.literal .text .literal.* .text.*)"
   to
        "*libcore.a:spi_flash.o(.literal .text .literal.* .text.*)"
   in file 'eagle.app.v6.common.ld'