Author Topic: .IHX files  (Read 9661 times)

elleP

  • Guest
.IHX files
« on: March 08, 2005, 08:54:58 AM »
Idea for a new version? I use a compile that uses that extension instead of the .HEX extension that FM likes.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: .IHX files
« Reply #1 on: March 08, 2005, 08:59:01 AM »
Most linkers allow the name of the output file to be specified. .hex is the "standard" for Intel hex files, and nearly every tool expects .hex. Perhaps check in your linker manual to see if the filename can be specified.

Embedded Systems Academy, Inc.
support at esacademy dot com

erikm

  • Guest
Re: .IHX files
« Reply #2 on: March 08, 2005, 09:40:06 AM »
have you heard of "rename"

Erik

elleP

  • Guest
Re: .IHX files
« Reply #3 on: March 09, 2005, 10:51:15 AM »
now why didn't i think of that...
But serious.. I know FM will accept .IHX or .EXE files, if you select "all files", but that is, just like rename, an extra step.
And since this combination of tools might be used by students who are seeing a compiler for the first time, I'd like it to go as smooth as possible.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: .IHX files
« Reply #4 on: March 09, 2005, 10:55:17 AM »
If the build is on the command line, the renaming can be built into a batch file.
If the build is in an IDE, most modern IDEs allow you to configure once as part of a project the option to rename the output file.
In both cases the operation is transparent to the end user.

Embedded Systems Academy, Inc.
support at esacademy dot com