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

uVision multiple output file

Hi all,
I'm working with uVision2 v2.4 and I want to know if there's a way to define multiple output file names according to precompilation process.
For example somthing like that:

#ifdef _ED_ output_file_name=EEE.hex
#else output_file_name=DDD.hex
#endif
Thanks a lot,
Roberto

Parents
  • You need to create multiple Targets in your Project; one will create EEE.Hex, the other DDD.hex.

    You cannot do it with 'C' preprocessor directives, since the 'C' compiler knows nothing about Hex files.
    I'm sure this was discussed recently...?

Reply
  • You need to create multiple Targets in your Project; one will create EEE.Hex, the other DDD.hex.

    You cannot do it with 'C' preprocessor directives, since the 'C' compiler knows nothing about Hex files.
    I'm sure this was discussed recently...?

Children