IAR_STM8编译出错请教

[复制链接]
6461|6
 楼主| tantao820629 发表于 2011-1-3 13:11 | 显示全部楼层 |阅读模式
请教;以前在在ST Visual Develop环境下完成的程序现在移植到IAR环境编译报如下错误:不知问题出在哪??
Building configuration: stm8lianfang - Debug
Updating build tree...
Linking
Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum size of 0x33f bytes in <[0x000000-0x0003ff]> (total  
uncommitted space 0x2f4).
          Uncommitted:
            [0x000000-0x0000ff]:  0xf4
            [0x000100-0x0003ff]: 0x200
          Needed:
            [0x000000-0x0003ff]: 0x33f minimum (size: 0x400)
Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum size of 0x20f5 bytes in <[0x008000-0x009fff]> (total  
uncommitted space 0x1f80).
          Needed:
            [0x008000-0x009fff]: 0x20f5 minimum (size: 0x2000)
Error while running Linker
Total number of errors: 2
Total number of warnings: 0
 楼主| tantao820629 发表于 2011-1-3 15:45 | 显示全部楼层
找到问题,是程序空间溢出;但很奇怪,以前用ST Visual Develop环境都好好的!都没有问题,怎么换IAR就溢出??然道IAR效率不如ST Visual Develop???
winloop 发表于 2011-1-3 19:02 | 显示全部楼层
你用的是代码限制版吧
 楼主| tantao820629 发表于 2011-1-4 13:29 | 显示全部楼层
不是正版,但也没有你说的代码限制;在论坛里也发现很多类似的问题!呵呵!不知IAR支持STM8有没有新版本??
 楼主| tantao820629 发表于 2011-1-4 13:29 | 显示全部楼层
期待!!!!
STM32W108 发表于 2011-1-4 17:57 | 显示全部楼层
整个工程发上来看看。
 楼主| tantao820629 发表于 2011-2-15 15:29 | 显示全部楼层
最后找出问题,程序溢出,iarSTM8版本效率不知怎么回事比ST Visual Develop还低!期待新的版本!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

18

主题

89

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部