<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Expresso not including my .S file in build in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Expresso-not-including-my-S-file-in-build/m-p/543901#M8463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Feb 20 00:46:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The linker will eliminate unused code, so unless there is an explicit call to your assembler routine from the C code, it will be discarded. You can look in the .map file to see what is being discarded.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:30:01 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:30:01Z</dc:date>
    <item>
      <title>Expresso not including my .S file in build</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Expresso-not-including-my-S-file-in-build/m-p/543900#M8462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by acelink1 on Wed Feb 19 19:08:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Guys, I have a serious problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written a small Assembly program in a .S file.&amp;nbsp; When I build the whole project Xpresso reads and builds the .S file. I know this because I deliberately wrote NOP #4 instead of NOP just to see if Expresso would error and it did. So I know Expresso is reading and building my Assembler .S file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the main.c file is just the basic default setup of the LPC4357 and a while loop at the end of the C program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have entered this line before the while loop to externally include my assembler program. Is this correct? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;extern int assem_program;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when I build the whole project and view the disassembly my assembler program is not there only the while loop in C is there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why isn't Xpresso including my .S file when building.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somebody please explain before I have no hair left :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, I don't know C++ I'm an assembler programmer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:30:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Expresso-not-including-my-S-file-in-build/m-p/543900#M8462</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Expresso not including my .S file in build</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Expresso-not-including-my-S-file-in-build/m-p/543901#M8463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Feb 20 00:46:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The linker will eliminate unused code, so unless there is an explicit call to your assembler routine from the C code, it will be discarded. You can look in the .map file to see what is being discarded.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Expresso-not-including-my-S-file-in-build/m-p/543901#M8463</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expresso not including my .S file in build</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Expresso-not-including-my-S-file-in-build/m-p/543902#M8464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by acelink1 on Thu Feb 20 14:08:49 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you lpcxpresso-support. I'll check it out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever like the BBC Model B home computer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pete :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Expresso-not-including-my-S-file-in-build/m-p/543902#M8464</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:30:01Z</dc:date>
    </item>
  </channel>
</rss>

