CCS编译软件,一些没有使用的全局变量如何才能参与编译,使用volatile修饰也不行,软件优化也没开
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.
比方说你在.c文件里创建了一个变量const Uint32 Data=0x11111111,并且没有使用到。
那在用于分配地址的.cmd文件第一行添加一个-u Data就可以了