Author Topic: .out file  (Read 9870 times)

Offline Itche

  • Newbie
  • *
  • Posts: 10
    • View Profile
.out file
« 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

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: .out file
« Reply #1 on: October 07, 2008, 10:04:14 PM »
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