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'.
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
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.