打印

关于stm32h7内部ram使用问题

[复制链接]
218|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
我在工程中设了一个大的内存
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 上传

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

437

主题

437

帖子

0

粉丝