Fails due to MinGW's objcopy being executed. Error says objcopy does not recognise elf file.
Steps to Reproduce the Problem
don't put toolchain in path
set full paths in CMakeLists.txt executables
compile the project
Specification
Windows 7
Plugin Version: 1.2.alpha3
CLion version: 2018.3.1
Toolchain: GNU gdb (GNU Tools for Arm Embedded Processors 7-2018-q2, gcc-arm-none-eabi-7-2018-q2)
Comments
Not sure if this is actually a bug or just my misconfiguration (due to toolchain not being in path), but
my solution is to change CMakeLists.txt template from:
Expected Behavior
Building project should succeed.
Actual Behavior
Fails due to MinGW's objcopy being executed. Error says objcopy does not recognise elf file.
Steps to Reproduce the Problem
Specification
Comments
Not sure if this is actually a bug or just my misconfiguration (due to toolchain not being in path), but my solution is to change CMakeLists.txt template from:
to
After that, a proper objcopy is called and building the project is successful.