工程下好多C文件都是灰色的代表什么意思
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.
那请教您一下,如果这些个函数发生在中断当中的话,是不是一开始没参与编译,然后就是灰色的?
你的意思是函数在中断中,但是程序中并没有使用?这个倒是没注意,我感觉函数在程序中的话应该不会是灰色的,不过还要考虑代码优化会不会影响到这个。
还有一种可能就是人为的exclude from build了,右键函数.c文件可以exclude from build,这样的话这个文件也是不参与编译的。有时候测试软件的时候会这么做