Remember a daily keil5 MDK abnormal prompt Note: object file renamed from “xxx.o” to “xxx_1.o”

Sometimes modifying the path of a source file may forget to delete the file in the original group.
At this time keil will prompt

Note: source file 'xxx.c' - object file renamed from 'xxx.o' to 'xxx_1.o'.

Insert picture description here
After testing, Baidu's method of deleting duplicate files and Rebuild and deleting the generated xxx_1.o can't solve it.
You must select the file and right click Options for file xxx.c under the Project column on the left. Uncheck the check
Insert picture description here
next to "Include in Target Build" to compile once. This time the compilation will report an error. Don't care about the error, then check this check and compile again and it will be normal.

If prompted

browse information of one or more file

You can also use this method to solve.

Guess you like

Origin blog.csdn.net/qq_28851611/article/details/107818405