This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

change output filename after compilation

Hello all,

I would like to change the output filename (*.hex) after compilation automatically, where the name should be defined in a headerfile which is part of the µvision2 project.

Does enybody knows if this is possible??

thanks

Martin

Parents
  • I do it all the time, however my method is to use the desired name in the command to oh51. Of course, if you insist on using the IDE you must accept its limitations.

    Please note: I have no problem with the IDE, when used for the simple tasks it is intended for. I just can't see a reason for the desire to make it do what is so darn easy in a .bat environment.

    example:

    c:\tools\keil\c51\bin\oh51 as.omf HEXFILE (..\hex\%MUSTYP%%MUSMFG%%MUSWDT%%MUSHGT%%1.hex)

    Erik

Reply
  • I do it all the time, however my method is to use the desired name in the command to oh51. Of course, if you insist on using the IDE you must accept its limitations.

    Please note: I have no problem with the IDE, when used for the simple tasks it is intended for. I just can't see a reason for the desire to make it do what is so darn easy in a .bat environment.

    example:

    c:\tools\keil\c51\bin\oh51 as.omf HEXFILE (..\hex\%MUSTYP%%MUSMFG%%MUSWDT%%MUSHGT%%1.hex)

    Erik

Children
No data