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.

TMS320F28P650DK: 如何防止CCS(CCS12.4)编译器优化未使用的数组

Part Number: TMS320F28P650DK

我在代码中定义了一组数据,并在cmd中配置它存放在内部flash中,但编译后发现.map文件中没有该数组的空间,工程优化等级是off状态也是有这个现象。请问有什么办法让这个未使用的数组不被优化吗?