Commit Graph

4 Commits

Author SHA1 Message Date
daishengdong
3a8b03432f add tos_mmheap_check & tos_mmheap_pool_check API and TOS_CFG_MMHEAP_DEFAULT_POOL_EN switch
tos_mmheap_check: get the information of the heap(space that is free and used)
tos_mmheap_pool_check: get the information of a pool
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.
2019-10-14 22:09:57 +08:00
acevest
93ae1c96ca risc-v add irq stack 2019-10-08 20:42:40 +08:00
acezhao
72b4656c2a remove some comments 2019-09-20 10:46:04 +08:00
acezhao
de43d4ef0e replace multiple instructions with macro SAVE_CONTEXT and RESTORE_CONTEXT 2019-09-18 12:53:56 +08:00