fix(heap): Fix heap initialize error when disable IRAM for heap

This commit is contained in:
Dong Heng
2018-09-20 19:52:02 +08:00
parent 8ead6d15c6
commit 8eacaee32c
2 changed files with 9 additions and 4 deletions

View File

@ -18,6 +18,10 @@
#define HEAP_ALIGN_SIZE 4
#ifdef CONFIG_SOC_FULL_ICACHE
#define HEAP_REGIONS_MAX 1
#else
#define HEAP_REGIONS_MAX 2
#endif
#define MEM_BLK_MIN 1