..OBJTemplate.axf: Error: L6406E: No space in execution regions with .ANY selector matching malloc.o(.data).
把malloc.h函数里面的,内存管理设置小一点,如下:
#define MEM1_BLOCK_SIZE32&
#define MEM1_MAX_SIZE40*1024
#define MEM1_ALLOC_TABLE_SIZEMEM1_MAX_SIZE/MEM1_BLOCK_SIZE
#define MEM2_BLOCK_SIZE; 32
#define MEM2_MAX_SIZE700 *1024
#define MEM2_ALLOC_TABLE_SIZEMEM2_MAX_SIZE/MEM2_BLOCK_SIZE |