OpenEdv-开源电子网

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

战舰外部SRAM 实验编译不过

[复制链接]

10

主题

46

帖子

0

精华

初级会员

Rank: 2

积分
136
金钱
136
注册时间
2012-10-11
在线时间
15 小时
发表于 2013-7-27 14:48:39 | 显示全部楼层 |阅读模式
Build target 'Target 1'
compiling test.c...
linking...
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching ili93xx.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching ili93xx.o(.constdata).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart_str.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtc.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching ps2.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching timer.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching rda5820.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching sys.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching remote.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching sccb.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching myiic.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching ddiv.o(x$fpl$ddiv).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart_config.o(.conststring).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching test.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching stmflash.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching rs485.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching sram.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching __printf_flags_ss_wp.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching fdiv.o(x$fpl$fdiv).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching 24cxx.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching exti.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching wdg.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching fmul.o(x$fpl$fmul).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching faddsub_clz.o(x$fpl$fsub).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching dac.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching wkup.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching faddsub_clz.o(x$fpl$fadd).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_intcommon.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching delay.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching dnaninf.o(x$fpl$dnaninf).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching fnaninf.o(x$fpl$fnaninf).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching led.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_dec.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching d2f.o(x$fpl$d2f).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_hex_int.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching f2d.o(x$fpl$f2d).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_str.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_pad.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching sys_stackheap_outer.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching ffixu.o(x$fpl$ffixu).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_char_common.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_char.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_hex_int.o(.constdata).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching fflt_clz.o(x$fpl$ffltu).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_char_file.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtc.o(.constdata).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching noretval__2printf.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart.o(.conststring).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching faddsub_clz.o(x$fpl$frsb).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching __printf_flags_ss_wp.o(.constdata).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtudiv10.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching fpinit.o(x$fpl$fpinit).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching sys.o(.emb_text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching dretinf.o(x$fpl$dretinf).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching exit.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching rt_fp_status_addr_intlibspace.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching fretinf.o(x$fpl$fretinf).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtentry2.o(.ARM.Collect$$rtentry$$0000000D).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching ferror.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching libspace.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching _printf_c.o(.ARM.Collect$$_printf_percent$$00000013).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching heapauxi.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching libinit.o(.ARM.Collect$$libinit$$00000000).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtexit2.o(.ARM.Collect$$rtexit$$00000004).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching use_no_semi_2.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching use_no_semi.o(.text).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching libshutdown.o(.ARM.Collect$$libshutdown$$00000000).
..\OBJ\test.axf: Error: L6406E: No space in execution regions with .ANY selector matching usenofp.o(x$fpl$usenofp).
..\OBJ\test.axf: Error: L6407E: Sections of aggregate size 0x7e30 bytes could not fit into .ANY selector(s).
..\OBJ\test.axf: Not enough information to list image symbols.
..\OBJ\test.axf: Not enough information to list the image map.
..\OBJ\test.axf: Finished: 2 information, 0 warning and 73 error messages.
编译的时候出现这些 这是怎么回事啊,我把战舰实验的程序u32 testsram[250000] __attribute__((at(0X68000000)));//测试用数组改成u32 testsram[25000] __attribute__((at(0X68000000)));就可以了是不是这个数组的太大,超过了啊??求各位高手帮我解答一下啊。
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2013-7-27 15:44:16 | 显示全部楼层
你用的编译器优化不一样.
建议用:MDK3.80A,或者MDK4.70A.
否则就把你的内存分配大小改小.
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复 支持 反对

使用道具 举报

10

主题

46

帖子

0

精华

初级会员

Rank: 2

积分
136
金钱
136
注册时间
2012-10-11
在线时间
15 小时
 楼主| 发表于 2013-7-27 22:13:31 | 显示全部楼层
恩好的我试试,谢谢原子哥啊。
回复 支持 反对

使用道具 举报

0

主题

1

帖子

0

精华

新手入门

积分
21
金钱
21
注册时间
2013-12-9
在线时间
0 小时
发表于 2013-12-12 10:04:00 | 显示全部楼层
回复【3楼】MDC012170:
---------------------------------
这个问题解决了么 我也遇到这样的问题了 如何修改内存分配呢
回复 支持 反对

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2013-12-13 00:08:05 | 显示全部楼层
回复【4楼】vonchenchen:
---------------------------------
在malloc.h里面
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复 支持 反对

使用道具 举报

0

主题

8

帖子

0

精华

初级会员

Rank: 2

积分
87
金钱
87
注册时间
2014-4-8
在线时间
14 小时
发表于 2014-9-21 13:38:25 | 显示全部楼层
这个问题也整了我好久,呵呵。
回复 支持 反对

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-7-1 10:24

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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