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.
我在代码中定义了一组数据,并在cmd中配置它存放在内部flash中,但编译后发现.map文件中没有该数组的空间,工程优化等级是off状态也是有这个现象。请问有什么办法让这个未使用的数组不被优化吗?
你好,我已经用了DATA_SECTION语句指定了数组位置,并在cmd文件中给它指定了地址。同样的操作在CCS8版本没有问题,在CCS12.4上就有问题,必须得调用下这个数组才能在map文件中被找到。请问是不是CCS12.4需要做什么配置