I am trying to compile a bare metal project for a DE1-SoC board using the Altera Monitor Program and I get the following error:
/usr/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/bash: -c: line 1: syntax error: unexpected end of file
ELF generated at <project_folder>/main.axf.
cd <project_folder> ; arm-altera-eabi-objcopy -O srec main.axf main.srec
C:\altera_lite\16.0\University_Program\Monitor_Program\arm_tools\baremetal\bin\arm-altera-eabi-objco...:main.axf: File format not recognized
I have found solutions to a similar problem for other platforms (not Intel FPGAs) in other forums but I don't know which file I have to fix in this case because it seems like the problem is in the executable arm-altera-eabi-objcopy.exe.