[問題] ADI out of memory問題
開發平台(Platform): ADI bf561
問題(Question):
我的全域變數全放在L3內,只要我程式呼叫函數到一定程度多時,
編譯就會出現錯誤...(下方說明),但只要我關閉一些function就又可正常work...
有測試過不是自己寫的function問題,
而是有時連多加一個printf時,編譯就出現如下錯誤訊息...
反正我就是不能太多function一切就又正常了...
我試著從下方錯誤訊息進入.ldf檔,但不知如何修改...
請問該如何解決此問題呢?(是否堆疊爆了?)
錯誤結果(Wrong Output):
[error 1]:
Out of memory in output section 'porgram_ram' in processor 'p0'
Total of 0x1a0 word(s) were not mapped.
For more details. see 'linker_log.xml' in the output directory.
[error 2]:
Out of memory in output section 'l1_code' in porcessor 'p0'
Total of 0x1a0 word(s) were not mapped.
For more details. see 'linker_log.xml' in the output directory.
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.251.209.96
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1441013672.A.360.html
→
09/01 13:04, , 1F
09/01 13:04, 1F
→
09/01 13:05, , 2F
09/01 13:05, 2F
→
09/01 13:07, , 3F
09/01 13:07, 3F
→
09/01 13:09, , 4F
09/01 13:09, 4F
→
09/01 13:11, , 5F
09/01 13:11, 5F
→
09/01 13:13, , 6F
09/01 13:13, 6F
→
09/01 13:14, , 7F
09/01 13:14, 7F
→
09/01 13:14, , 8F
09/01 13:14, 8F
→
09/01 13:15, , 9F
09/01 13:15, 9F
→
09/01 13:51, , 10F
09/01 13:51, 10F
→
09/01 13:52, , 11F
09/01 13:52, 11F
→
09/02 14:45, , 12F
09/02 14:45, 12F
→
09/02 14:46, , 13F
09/02 14:46, 13F
→
09/02 14:47, , 14F
09/02 14:47, 14F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章