rename TOS_CFG_MMHEAP_DEFAULT_POOL_EN

TOS_CFG_MMHEAP_DEFAULT_POOL_EN: enable the default pool of the heap(if user not set this, a default of 1u is set). if you wanna disable the default pool, you should call tos_mmheap_pool_add to add your own pool of the heap before tos_mmheap_alloc is called.
This commit is contained in:
supowang
2019-10-15 14:26:08 +08:00
parent 3a8b03432f
commit 2ef46f91fa
8 changed files with 8 additions and 8 deletions

View File

@@ -20,7 +20,7 @@
#define TOS_CFG_MMHEAP_EN 1u
// 配置TencentOS tiny动态内存池大小
#define TOS_CFG_MMHEAP_POOL_SIZE 8192
#define TOS_CFG_MMHEAP_DEFAULT_POOL_SIZE 8192
// 配置TencentOS tiny是否开启互斥锁模块
#define TOS_CFG_MUTEX_EN 1u