持续更新
ERROR
WARNING
1.Note: object file renamed from “xxx.o“ to “xxx_1.o“
出现下面这些warning可能的原因:
(1)没有将头文件加入到main.c中,检查一下在编译。
(2)修改源文件路径的时候忘记删除原来的group文件。
main.c(21): warning: #223-D: function "TIM4_PWM_Init" declared implicitly
Note: object file renamed from “xxx.o“ to “xxx_1.o“
browse information of one or more file
解决办法:
选中修改的文件,单击右键,点开Options for Group;
将Include inTarget Build取消勾选,然后Rebuild,这次编译会报错;
然后再将Include inTarget Build勾选上,这时再编译就可以了。