我在工程中设了一个大的内存
u8 tttt[1024*512];
这时编译是没有问题的
当我数组再扩大到
u8 tttt[1024*513];
这时编译就通不过了,报错如下:
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Program Files\Keil_v5\ARM\ARMCC\Bin'
Build target 'UART'
compiling main.c...
linking...
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).
..\OBJ\Template.axf: Error: L6407E: Sections of aggregate size 0x8000c bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 2 error messages.
"..\OBJ\Template.axf" - 2 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:09
这个芯片不是有1M的ram吗,为什么到512K左右时后面的ram就不能用了?
444.png (20.67 KB, 下载次数: 0)
下载附件
2018-9-23 08:18 上传 |