Commit Graph

22 Commits

Author SHA1 Message Date
Dong Heng
5d980e20f1 feat(heap): Add executable caps to IRAM region 2021-01-22 12:07:37 +08:00
Dong Heng
b9b4d8d7da fix(heap): Add integer overflow checks 2021-01-21 10:35:14 +08:00
Dong Heng
57fcd2271b feat(heap): add unit test function 2019-11-06 14:32:29 +08:00
Dong Heng
975a7fd12a feat(heap): add option to enable/disable heap trace function 2019-11-06 14:30:02 +08:00
dongheng
5f2b5eafcf feat(mbedtls): modify code to support ESP8266
It is that maybe less modification working on the components is better, so I just modified the platform
code of AES, SHA and so on.

ESP8266 has no real hardware AES, SHA or bignum peripheral, but some method can speed up the process of part
of upper algorithm, so I also added the platform code of AES, SHA, bignum, ARC, MD5.

ESP8266 has no platform of bignum, so users should not enable the bignum hardware at "menuconfig".
2019-10-10 13:39:08 +08:00
dongheng
3361cbc541 feat(heap): add function to get DRAM region free size 2019-09-17 11:47:18 +08:00
Chen Wen
a7aeeb28d5 feat(heap): add heap private config to enable/disable using IRAM as heap 2019-08-12 19:28:20 +08:00
dongheng
301d857988 feat(esp8266): supports "make size" and its family function
1. support "make size", "make size-files", "make size-components" and "make size-symbols"
2. add esp-idf style link file including "esp8266.ld" and "esp8266.project.ld.in"
3. add link advaced generation file to components of esp8266 and spi_flash
2019-08-05 17:20:29 +08:00
dongheng
cca13e0f99 feat(make): Sync code from esp-idf and modify for ESP8266
Commit ID: f6bfe13e
2019-05-16 16:22:11 +08:00
dongheng
2a0b0f601b docs(doxygen): Fix header files which is not doxygen style 2019-05-16 15:07:27 +08:00
dongheng
86df7f879a feat(heap): Link heap raw malloc/free from flash to iram
Remove raw malloc internal calling function.
2019-04-02 10:53:52 +08:00
Dong Heng
f0bf1f748d feat(heap): Modify heap trace log API
Using ESP_EARLY_LOGx instead of ESP_LOGx.
2018-11-22 17:28:57 +08:00
Dong Heng
2662239b0f fix(heap): Fix heap trace check error
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/335
2018-10-12 13:05:10 +08:00
Dong Heng
90a1aaa6ee fix(heap): Fix heap debug message format error 2018-10-10 10:44:26 +08:00
Dong Heng
4c29801ed0 fix(heap): Fix heap size error
1. get real memory block size when malloc
2. return directly when free freed memory block
2018-09-25 15:27:25 +08:00
Dong Heng
54cd3f4b61 feat(sdk): Midify "__FILE__" to "__ESP_FILE__" for some components 2018-09-21 13:04:59 +08:00
Dong Heng
6efd160218 Merge branch 'bugfix/fix_heap_dump_error_when_input_file_without_dir' into 'master'
Fix heap dump error when input file has no dir

See merge request sdk/ESP8266_RTOS_SDK!510
2018-09-21 10:46:58 +08:00
Dong Heng
7a3cb283ec fix(heap): Fix heap dump error when input file has no dir 2018-09-20 21:32:56 +08:00
Dong Heng
8eacaee32c fix(heap): Fix heap initialize error when disable IRAM for heap 2018-09-20 19:52:02 +08:00
Dong Heng
b1da1ca461 feat(heap): Fix HEAP dump error 2018-09-17 17:27:43 +08:00
Dong Heng
e40b6d645a feat(heap): Remove macro "MEMLEAK_DEBUG" 2018-09-12 11:12:40 +08:00
Dong Heng
260da4a6f3 feat(heap): Add new heap component 2018-09-12 11:12:17 +08:00