OpenEdv-开源电子网

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

为什么我在编译 《实验56 战舰STM32开发板综合实验》出现这样的错误?

[复制链接]

1

主题

29

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
219
金钱
219
注册时间
2013-10-22
在线时间
77 小时
发表于 2013-10-25 16:10:58 | 显示全部楼层 |阅读模式

刚买的开发板,烧了几个程序后,出厂的原始程序没有了,我想自己从新烧录一次,可我在编译光盘的前面55个列子都没有出现这样的错误,
而在编译最后一个工程的时候出现这样的错误,STM32的FLASH不够用?

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

1

主题

29

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
219
金钱
219
注册时间
2013-10-22
在线时间
77 小时
 楼主| 发表于 2013-10-25 16:21:52 | 显示全部楼层
..\OBJ\IntegrateTest.axf: Error: L6406E: No space in execution regions with .ANY selector matching nes_joypad.o(i.NES_JoyPadDisable).
..\OBJ\IntegrateTest.axf: Error: L6406E: No space in execution regions with .ANY selector matching settings.o(.constdata).
..\OBJ\IntegrateTest.axf: Error: L6406E: No space in execution regions with .ANY selector matching usb_core.o(i.NOP_Process).
..\OBJ\IntegrateTest.axf: Error: L6406E: No space in execution regions with .ANY selector matching hw_config.o(i.USB_NotConfigured_LED).
..\OBJ\IntegrateTest.axf: Error: L6406E: No space in execution regions with .ANY selector matching usb_prop.o(i.MASS_Status_In).
..\OBJ\IntegrateTest.axf: Error: L6406E: No space in execution regions with .ANY selector matching usb_prop.o(i.MASS_Status_Out).
..\OBJ\IntegrateTest.axf: Error: L6406E: No space in execution regions with .ANY selector matching pyinput.o(.constdata).
..\OBJ\IntegrateTest.axf: Error: L6407E: Sections of aggregate size 0x42620 bytes could not fit into .ANY selector(s).
..\OBJ\IntegrateTest.axf: Not enough information to list image symbols.
..\OBJ\IntegrateTest.axf: Not enough information to list the image map.
..\OBJ\IntegrateTest.axf: Finished: 2 information, 0 warning and 1408 error messages.
Target not created

工程我没有更改,什么都没有动,这个是怎么回事?
回复 支持 反对

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2013-10-25 16:49:29 | 显示全部楼层
换编译器。
MDK3.80A,MDK4.70A,随你选,但是4.1X,之类的,貌似会出现这个错误
原因就是内存不够用了,你可以去malloc.h里面,修改内存分配大小,适当改小,可以解决这个问题。
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复 支持 反对

使用道具 举报

1

主题

29

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
219
金钱
219
注册时间
2013-10-22
在线时间
77 小时
 楼主| 发表于 2013-10-25 17:23:31 | 显示全部楼层
compiling usb_endp.c...
compiling usb_istr.c...
compiling usb_prop.c...
compiling usb_pwr.c...
compiling usb_scsi.c...
linking...
Program Size: Code=186812 RO-data=84808 RW-data=5704 ZI-data=1103744  
FromELF: creating hex file...
"..\OBJ\IntegrateTest.axf" - 0 Error(s), 1 Warning(s).

多谢!!!从新安装了KEIL可以正常编译了,呵呵!!!
回复 支持 反对

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-7-9 23:26

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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