I have recently started using codeblocks for embedded development. Whenever I make any project it gives the output file with extension .exe. I checked into project "properties->build targets" and realized that it gives the output extension bcz of the setting available here.
There are different types available here such as "Console Application", "Library static/dynamic", "GUI Application", "Commands only", "Native".
I want hex file as output which can be then run on embedded chip. So Can i do something like this:
- Select type as console application and set the output file extension as xxx.hex
Will it be ok?
Also is there any way to generate a .map file as output ?