
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.
#使用openocd调试
需要编译特定的openocd
git clone https://github.com/riscv-mcu/riscv-openocd.git
如果用的是Sipeed USB-JTAG/TTL RISC-V Debugger,需要在编译的时候enable ftdi
./configure --enable-cmsis-dap --enable-ftdi