Problem description
1. In the Keil project, move the C file in the app component to the dev component,
2. When using keil, sometimes you accidentally add two identical. C files in different group folders
at this time, the compilation will appear:
note: source file ‘… (core/Src/GPIO. C) – object file renamed from’ 7.710.200c/GPIO. O ‘to’ 7.710.200c/GPIO_ 1. O ‘.
error report
Solution
1. Delete duplicate files to ensure that. C files are not duplicated in the project
2. Close the Keil project and run keilkill.bat to delete all the compiled link files
3. Open the project to compile
Keilkill.bat code attached
del *.bak /s
del *.ddk /s
del *.edk /s
del *.lst /s
del *.lnp /s
del *.mpf /s
del *.mpj /s
del *.obj /s
del *.omf /s
::del *.opt /s ::Settings that do not allow JLINK to be deleted
del *.plg /s
del *.rpt /s
del *.tmp /s
del *.__i /s
del *.crf /s
del *.o /s
del *.d /s
del *.axf /s
del *.tra /s
del *.dep /s
del JLinkLog.txt /s
del *.iex /s
del *.htm /s
del *.sct /s
del *.map /s
exit
Copy the content to a TXT file, save and exit. Then change the suffix of. Txt to. Bat. Put the modified bat file into the project and run it
Read More:
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file o
- Vs2017 cannot open the source file “XXX. H” by adding a file name after creating a new class
- Python read / write file error valueerror: I/O operation on closed file
- Vs cannot open source file “XXX. H” problem
- Causes and solutions of nm test o file format not recognized
- Typescript error “Cannot write file xxx because it would overwrite input file
- Securityerror: error ᦇ 2148: SWF file XXX cannot access local resources, only file system only
- As Error:Failed to find configured root that contains /storage/emulated/0/xxx/xxx/xxx.png
- [unable to read project file xxxxx, XXX failed to load project file, name cannot start with “<" character (hex value 0x3c)] exception handling method
- Visual slam Lesson 6: curve fitting with g2o, error: cmake error at CMakeList.txt (find_ package) By not providing“FindG2O.cmake“
- Two solutions to Cannot load module file xxx.iml
- R load(xxx.Rdata) Error bad restore file magic number (file may be corrupted) — no data loaded
- session_ start(): open(SESSION_ FILE, O_ Rdwr)) failed: processing of permission denied (13)
- Failed startup of context o.e.j.w WebAppContext@532aaf8a {/admin,file:/D:/Develop/activeM
- Solve the error of POM file failed to read artifact descriptor for XXX under IntelliJ idea
- Error: l6242e: cannot link object arm_ cos_ f32.o as its attributes are incompat
- Browser prompt: Source mapping error: request failed with status 404 Source URL: http://xxx.js Source mapping URL: jquery.min.map
- [Solved] Spark SQL Error: File xxx could only be written to 0 of the 1 minReplication nodes.
- If you want to open more than one program “pdc140.xxx”, the CL.EXE To write to the same. Pdb file, please use
- Error in compiling rmarkdown to PDF file` xxx.sty ‘ not found.