找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 2211|回復(fù): 1
打印 上一主題 下一主題
收起左側(cè)

求助Atmega128移植編譯問題,RAM溢出了

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
ID:265461 發(fā)表于 2017-12-22 21:16 | 只看該作者 回帖獎勵 |倒序?yàn)g覽 |閱讀模式
我有一個完成的128工程,是在AVR studio4里面的,現(xiàn)在需要移植到ICCV8,編譯就會出現(xiàn)錯誤:
!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空間溢出了,需要在工程里設(shè)置一下。我用的是ICCV8 8.05,
有遇到相同問題的大佬么?還有相關(guān)問題的鏈接:
http://www.psocdeveloper.com/forums/viewtopic.php?f=3&t=2029
http://microcontrollers.2385.n7. ... nough-td158733.html


分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報

沙發(fā)
ID:265461 發(fā)表于 2017-12-22 22:21 | 只看該作者
http://en-nut-discussion.egnite. ... pile-basemon-sample
這個應(yīng)該可以解決,不過有新的問題
回復(fù)

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機(jī)教程網(wǎng)

快速回復(fù) 返回頂部 返回列表