<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>uVision multiple output file</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16736/uvision-multiple-output-file</link><description> Hi all, 
I&amp;#39;m working with uVision2 v2.4 and I want to know if there&amp;#39;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</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: uVision multiple output file</title><link>https://community.arm.com/thread/86782?ContentTypeID=1</link><pubDate>Thu, 20 May 2004 14:04:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3c74b076-c6b0-4e6d-9e0c-25fd2507e23e</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;I&amp;#39;m sure this was discussed recently...?&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Ah yes, here it is:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.keil.com/forum/docs/thread4296.asp"&gt;http://www.keil.com/forum/docs/thread4296.asp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision multiple output file</title><link>https://community.arm.com/thread/42230?ContentTypeID=1</link><pubDate>Thu, 20 May 2004 14:02:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2eaae58d-e763-4b1c-b61c-2adc3b9f791c</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;You need to create multiple &lt;i&gt;Targets&lt;/i&gt; in your Project; one will create EEE.Hex, the other DDD.hex.&lt;br /&gt;
&lt;br /&gt;
You cannot do it with &amp;#39;C&amp;#39; preprocessor directives, since the &amp;#39;C&amp;#39; compiler knows nothing about Hex files.&lt;br /&gt;
I&amp;#39;m sure this was discussed recently...?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision multiple output file</title><link>https://community.arm.com/thread/42232?ContentTypeID=1</link><pubDate>Thu, 20 May 2004 10:25:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0c6f6889-c800-4f90-9157-2e5fa601cd4d</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;do it in a .bat file.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>