[SOLVED] Paneldue firmware compile error
-
@64bit yea, i just got that error. will look into it and report back
-
@64bit what have you got in C:\windows-build-tools?
I had 2 folders and had to tidy it up. works ok for me now. -
I found objcopy.exe in my GNU Embedded tools. So I ran the following from the cmd prompt
C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\arm-none-eabi\bin>objcopy.exe -O binary "C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3.elf" "C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3-nologo.bin"
Output was a no logo bin that I have now flashed to the paneldue. after a reset it opened right up.
A bit of ass pain, but it worked.
-
-
can you try going to Windows -> Preferences -> C/C++ -> Build -> Build Variables and click "Add..."
set the name to "ArmGccPath", then change to directory and navigate to C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\arm-none-eabi\bin
Then apply and close eclipse. reopen it and try and build
-
@jay_s_uk said in Paneldue firmware compile error:
C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\arm-none-eabi\bin
Must be an issue in the makefile?
"C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\arm-none-eabi\bin/arm-none-eabi-objcopy" -O binary "C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3.elf" "C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3-nologo.bin" && cat "C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3-nologo.bin" "C:/Eclipse/PanelDueFirmware/SplashScreens/SplashScreen-Duet3D-480x272.bin" >"C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3.bin"
c:/windows-build-tools/bin/sh: C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\arm-none-eabi\bin/arm-none-eabi-objcopy: not found
make[1]: [makefile:94: post-build] Error 127 (ignored) -
@64bit
It compiles ok for me here -
I dont understand where the forward slash is coming from.
I mean, I can keep just using the command line to run objcopy. I just wish it wasnt screwed up.
What version of the GNU Arm Embedded Toolchain are you using?
-
SOLVED
make --no-print-directory post-build
Generating binary
"C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\arm-none-eabi\bin/arm-none-eabi-objcopy" -O binary "C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3.elf" "C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3-nologo.bin" && cat "C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3-nologo.bin" "C:/Eclipse/PanelDueFirmware/SplashScreens/SplashScreen-Duet3D-480x272.bin" >"C:/Eclipse/PanelDueFirmware/Release-v3-4.3/PanelDueFirmware-v3-4.3.bin"copied and renamed objcopy.exe to arm-none-eabi-objcopy.exe
File compiles properly now into both w/logo and no-logo files. -
-