標(biāo)題: 求助Atmega128移植編譯問題,RAM溢出了 [打印本頁]

作者: LoHAs540    時(shí)間: 2017-12-22 21:16
標(biāo)題: 求助Atmega128移植編譯問題,RAM溢出了
我有一個(gè)完成的128工程,是在AVR studio4里面的,現(xiàn)在需要移植到ICCV8,編譯就會(huì)出現(xiàn)錯(cuò)誤:
!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中是沒這個(gè)問題的,我查了一下,可能是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



作者: LoHAs540    時(shí)間: 2017-12-22 22:21
http://en-nut-discussion.egnite. ... pile-basemon-sample
這個(gè)應(yīng)該可以解決,不過有新的問題




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1