µTasker Forum
µTasker Forum => µTasker general => Topic started by: Itche on October 07, 2008, 08:04:39 PM
-
Hello all,
did anyone have modified the makefile to creat an .out file to use it with SAM-ICE under Eclipse?
Thanks
Itche
-
Hi Itche
The output file(s) created are controlled by the "GCC objcopy" utility.
The following generates a binary file from the elf file:
arm-none-eabi-objcopy --only-section=.data --only-section=.init --only-section=.text --only-section=.rodata --only-section=.vectors --output-target=binary uTaskerV1.3.elf uTaskerV1.3.bin
If you read the users' guide to objcopy (search the Internet or look in the GCC document folder) you may be able to find the target setting to generate the .out format. I don't know what this is but it may automatically work if you specify the target as uTaskerV1.3.out. Or maybe --output-target=a.out (?)
Regards
Mark