Just follow the steps in the image.
Tag Archives: keil mdk
Keil Error: error:#130:expected a “{” [How to Solve]
Keil error:#130:expected a “{”
Introduction:
This error is caused by not adding “;” to the function declared in the .h file.
Note:
Note: The position of the error after clicking Jump from the compilation information bar is inaccurate
error: unknown type name ‘uint8_t‘ [Howt to Solve]
includes “mytype.h”
[Solved] KEIL Error: source file ‘.XXX.o‘ – object file renamed from ‘XXX.o‘ to …
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
Error: l6242e: cannot link object arm_ cos_ f32.o as its attributes are incompat
report errors
I use AC6 as the compiler in keil MDK. I report an error when I transplant DSP library to F4. I configure it according to the online tutorial and report an error after compiling
Error: L6242E: Cannot link object arm_common_tables.o as its attributes are incompatible with the image attributes.
Error: L6242E: Cannot link object arm_cos_f32.o as its attributes are incompatible with the image attributes.
After searching on the Internet for a circle, I found no result. If I see a similar problem, I can’t try to solve it.
https://blog.csdn.net/crown133/article/details/103333704
solve
Finally, we found the answer on arm’s official developer website
in the end https://developer.arm.com/documentation/ka003983/latest
In short, AC5 and 6 wchar_ The default size of T is not the same
according to the solution of the official website, you can open this option here
if you encounter problems in the future, you still need to find answers through official channels
Gd32e303zet6 download prompt error
One, the phenomenon
br>
Second, the reason why
No Algorithm was found for: 08001000h-0800FFFFH, which means that the program size has exceeded the space address of 08001000H. So it’s an error
3. Solutions