找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1682|回复: 1
打印 上一主题 下一主题
收起左侧

求助Atmega128移植编译问题,RAM溢出了

[复制链接]
跳转到指定楼层
楼主
ID:265461 发表于 2017-12-22 21:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我有一个完成的128工程,是在AVR studio4里面的,现在需要移植到ICCV8,编译就会出现错误:
!E <library>(349): {linker} area 'text' not large enough. Need 5748 bytes
lo 2418 hi 4096 size 1679
!E <library>(349): {linker} area 'text' not large enough. Need 1906 bytes
lo 2418 hi 4096 size 1679
!E <library>(349): {linker} area 'text' not large enough. Need 1146 bytes
lo 3188 hi 4096 size 909
!E <library>(349): {linker} area 'text' not large enough. Need 2224 bytes
lo 3278 hi 4096 size 819
Built with ICCAVR DEMO-EXPIRED V8.05.02
Process terminated with status 1 (0 minutes, 2 seconds)
4 errors, 24 warnings (0 minutes, 2 seconds)


在AVR studio中是没这个问题的,我查了一下,可能是RAM空间溢出了,需要在工程里设置一下。我用的是ICCV8 8.05,
有遇到相同问题的大佬么?还有相关问题的链接:
http://www.psocdeveloper.com/forums/viewtopic.php?f=3&t=2029
http://microcontrollers.2385.n7. ... nough-td158733.html


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 顶 踩
回复

使用道具 举报

沙发
ID:265461 发表于 2017-12-22 22:21 | 只看该作者
http://en-nut-discussion.egnite. ... pile-basemon-sample
这个应该可以解决,不过有新的问题
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

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