Author Topic: output for ARM GCC Compiler  (Read 228 times)

Offline anandamu16

  • Multiple posting newcomer
  • *
  • Posts: 97
output for ARM GCC Compiler
« on: June 20, 2017, 08:22:20 am »
Hi,

I recently tried to create a new project in Codeblocks based on ARM GCC Compiler. It compiled fine
My question is based upon 2 instances:

1>In project properties, I set the output file name extension as bin. On compiling, it gives output file as .elf as well as .bin
2>In project properties, I set the output file name extension as hex. On compiling, it gives output file as .hex only no .elf

Can anyone explain the reason behind this variation as I am expecting elf file also as output along with hex file for 2nd case

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1462
Re: output for ARM GCC Compiler
« Reply #1 on: June 21, 2017, 12:08:53 am »
hmm
Codeblocks does exactly what you ask it to do.

On the AVR Targets the elf files are generated by a post build step, so one possibility would be that this post build step does not find the bin file and simply does not can generate the elf file...