This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCSV5编译430F5529程序出错



我的工程里添加了很多头文件,于是编译的时候老是报错:program will not fit into,该怎么解决啊

  • 可以参考下http://e2e.ti.com/support/development_tools/compiler/f/343/t/228476.aspx

  • ZhaoF,

    出现这个报错,原因可能有多种,具体如下:

    1. 可能complier版本与原先工程不同,导致.cmd 文件略有不同;

    2. 更改过.cmd文件,更改的与datasheet memory不匹配,即不合适;

    3. 也有可能,代码或者数据太大,超过了实际的Flash或RAM空间;

    4. 还可能是EABI或者COFFABI设置不合适,见 http://www.kerrywong.com/2012/12/17/program-will-not-fit-into-available-memory-error-in-ccs/。

    建议你看看你具体的报错信息,是哪块memory分配不合适。如果还没有头绪的话,你新建一个最简工程,看看有没有这个报错,然后在这个基础上,把你的工程文件逐步添加,看看哪里导致出错。