OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 4524|回复: 4

请教大家SRAM自带函数的问题

[复制链接]

2

主题

5

帖子

0

精华

新手上路

积分
33
金钱
33
注册时间
2015-3-4
在线时间
0 小时
发表于 2015-3-27 22:00:51 | 显示全部楼层 |阅读模式
5金钱
请问大家为什么战舰版的自带程序SRAM会出现这样的错误啊
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f10x.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching __printf_flags_ss_wp.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching sram.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching misc.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching delay.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart_config.o(.conststring).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_intcommon.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_dec.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_hex_int.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_str.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_pad.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching led.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching sys_stackheap_outer.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_char_common.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_char.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_hex_int.o(.constdata).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_char_file.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart.o(.conststring).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_it.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching noretval__2printf.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching __printf_flags_ss_wp.o(.constdata).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtudiv10.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching fpinit.o(x$fpl$fpinit).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching sys.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching exit.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching rt_fp_status_addr_intlibspace.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtentry2.o(.ARM.Collect$$rtentry$$0000000D).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching ferror.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching libspace.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_c.o(.ARM.Collect$$_printf_percent$$00000013).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching heapauxi.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching libinit.o(.ARM.Collect$$libinit$$00000000).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtexit2.o(.ARM.Collect$$rtexit$$00000004).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching use_no_semi_2.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching use_no_semi.o(.text).
..\OBJ\SRAM.axf: Error: L6406E: No space in execution regions with .ANY selector matching libshutdown.o(.ARM.Collect$$libshutdown$$00000000).
..\OBJ\SRAM.axf: Error: L6407E: Sections of aggregate size 0x92cc bytes could not fit into .ANY selector(s).

最佳答案

查看完整内容[请看2#楼]

RAM不够了,试着将malloc.h中的内存分配该小一点
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

88

主题

7377

帖子

5

精华

资深版主

Rank: 8Rank: 8

积分
14980
金钱
14980
注册时间
2013-11-13
在线时间
1823 小时
发表于 2015-3-27 22:00:52 | 显示全部楼层
RAM不够了,试着将malloc.h中的内存分配该小一点
开往春天的手扶拖拉机
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2015-3-27 22:48:29 | 显示全部楼层
SRAM不够了,将malloc的sram改小点,默认是40K,你改38K试试
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复

使用道具 举报

2

主题

5

帖子

0

精华

新手上路

积分
33
金钱
33
注册时间
2015-3-4
在线时间
0 小时
 楼主| 发表于 2015-3-29 17:00:52 | 显示全部楼层
回复【3楼】正点原子:
---------------------------------我用的是KEIL4.23版本会不会是版本的问题啊因为我是直接用的示例程序照理不该有这个问题啊
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2015-3-29 22:35:37 | 显示全部楼层
回复【4楼】小菜鸟会员:
---------------------------------
是的,版本问题,不同版本优化性能不一
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-24 07:46

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表