请问,按照野火的例程,在stm32f103zc上移植了ucos iii,然后添加了很多代码(代码在ucos ii上验证是OK的),编译链接报错:Error: L6406E: No space in execution regions with .ANY selector matching os_prio.o(.data).
Error: L6406E: No space in execution regions with .ANY selector matching os_cpu_c.o(.data).
Error: L6407E: Sections of aggregate size 0xb18 bytes could not fit into .ANY selector(s).
然后将 lib_cfg.h里宏修改成#define LIB_MEM_CFG_ALLOC_EN DEF_DISABLED//DEF_ENABLED。查看map文件,发现 RW size变成了20k左右,编译链接通过。
现在就想问问,这个宏定义LIB_MEM_CFG_ALLOC_EN是对哪方面用的? DISABLED会有什么问题?