Add support for objcopy
Posted: Wed Oct 23, 2013 9:31 am
Suggestion that might make sense for embedded, which is to add an entry for object copy in the Project-Settings ->Common Settings
I'm using Codelite for embedded firmware on AVR and ARM processors. Typically after an the code it comiple and liked to a .elf file, you run objcopy to create an binary file (.hex or .srec). I've been doing this via the post build settings, for example.
arm-none-eabi-objcopy -O srec $(ProjectPath)\Debug\main.elf main.srec
This works, but it it runs even if there is nothing to do.
I'm using Codelite for embedded firmware on AVR and ARM processors. Typically after an the code it comiple and liked to a .elf file, you run objcopy to create an binary file (.hex or .srec). I've been doing this via the post build settings, for example.
arm-none-eabi-objcopy -O srec $(ProjectPath)\Debug\main.elf main.srec
This works, but it it runs even if there is nothing to do.