Trouble Building
Posted: Wed Jul 25, 2012 6:31 am
Hello,
I'm just getting started with chibios/rt 2.4.1 and my STM3220G-EVAL board. I have set up eclipse and my code sourcery toolchain, but I am having trouble building my project, specifically when it tries to use objdump. Turning on the verbose option in the make file gives the following output:
arm-none-eabi-objcopy -O ihex build/ch.elf build/ch.hex
arm-none-eabi-objcopy -O binary build/ch.elf build/ch.bin
arm-none-eabi-objdump -x --syms build/ch.elf > build/ch.dmp
/bin/sh: /c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/arm-none-eabi-objdump: Invalid argument
I have done some playing around with the makefile and I think the issue is in redirecting the output to a file. That is to say,
arm-none-eabi-objdump -x --syms build/ch.elf
dumps the output to the console with out any problems, but it won't save the output when I try send it to a file.
Any help would be appreciated
Thanks,
Erick
I'm just getting started with chibios/rt 2.4.1 and my STM3220G-EVAL board. I have set up eclipse and my code sourcery toolchain, but I am having trouble building my project, specifically when it tries to use objdump. Turning on the verbose option in the make file gives the following output:
arm-none-eabi-objcopy -O ihex build/ch.elf build/ch.hex
arm-none-eabi-objcopy -O binary build/ch.elf build/ch.bin
arm-none-eabi-objdump -x --syms build/ch.elf > build/ch.dmp
/bin/sh: /c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/arm-none-eabi-objdump: Invalid argument
I have done some playing around with the makefile and I think the issue is in redirecting the output to a file. That is to say,
arm-none-eabi-objdump -x --syms build/ch.elf
dumps the output to the console with out any problems, but it won't save the output when I try send it to a file.
Any help would be appreciated
Thanks,
Erick