문제

I have used Keil uVision5 to create a hex file for the target STM32F103VE and I was not able to generate the hex. Here is the error log.(I have already thoroughly searched for the answer):

linking...
FromELF: creating hex file...
.\CompileOutput\Main.hex: Error: Q0122E: Could not open file '.\CompileOutput\Main.axf': No such file or directory
Finished: 0 information, 0 warning and 1 error messages.
After Build - User command #1: C:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin -o .\Output\Main.bin .\CompileOutput\Main.axf
".\CompileOutput\Main.axf": Error: Q0122E: Could not open file '.\CompileOutput\Main.axf': No such file or directory
Finished: 0 information, 0 warning and 1 error messages.
".\CompileOutput\Main.axf" - 0 Error(s), 0 Warning(s).

Can anyone please help me get rid of this error?

도움이 되었습니까?

해결책

We had a project with a similar error, and it turned out that we needed to disable cross-module optimization in the build options window.

다른 팁

I have similar issue. In my case full path to project contain '!' char. Try with simple path like 'c:\myProj'

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top