<?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: Including the drivers folder in a new project in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539790#M6652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Chris1seto on Thu Jul 14 19:58:28 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I still am having issues. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;./driver/crp.o:(.crp+0x0): multiple definition of `CRP_WORD'&lt;BR /&gt;./src/main.o:(.crp+0x0): first defined here&lt;BR /&gt;c:/nxp/lpcxpresso_4.0.5_123/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lC:/Users/Chris/Documents/LPCXpresso_4.0.5_123/workspace/MyProject/driver&lt;BR /&gt;c:/nxp/lpcxpresso_4.0.5_123/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lC:/Users/Chris/Documents/LPCXpresso_4.0.5_123/workspace/MyProject/config&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;make: *** [PpmEncoder.axf] Error 1&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made sure those directories exist....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:51:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:51:22Z</dc:date>
    <item>
      <title>Including the drivers folder in a new project</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539788#M6650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Chris1seto on Wed Jul 13 21:54:20 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the LPC examples, I see several folders not added whe na new C project is created. Among these is the drivers folder, which holds the code to interact with GPIO which is what I need to do in my project/.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the CMSIS in my project, 2.00.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I add the drivers folder to my project root, then under the quickstart panel/quick settings -&amp;gt; Include paths I add the path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I build, I get several of the following errors for each of the references to functions defined in the gpio .h/.c files. (I also add gpio.h in the C file generating the errors with "#include "gpio.h"")&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;undefined reference to `GPIOSetDir'&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;It seems as though the .h file is found, but it can't find the functions defined in it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539788#M6650</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Including the drivers folder in a new project</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539789#M6651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Jul 14 05:44:36 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Your compiler doesn't know that you are trying to use a new source folder :eek::eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So just add your new source folder in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Properties -&amp;gt; C/C++ General -&amp;gt; Paths and Symbols -&amp;gt; Source Location&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:51:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539789#M6651</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Including the drivers folder in a new project</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539790#M6652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Chris1seto on Thu Jul 14 19:58:28 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I still am having issues. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;./driver/crp.o:(.crp+0x0): multiple definition of `CRP_WORD'&lt;BR /&gt;./src/main.o:(.crp+0x0): first defined here&lt;BR /&gt;c:/nxp/lpcxpresso_4.0.5_123/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lC:/Users/Chris/Documents/LPCXpresso_4.0.5_123/workspace/MyProject/driver&lt;BR /&gt;c:/nxp/lpcxpresso_4.0.5_123/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lC:/Users/Chris/Documents/LPCXpresso_4.0.5_123/workspace/MyProject/config&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;make: *** [PpmEncoder.axf] Error 1&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made sure those directories exist....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539790#M6652</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Including the drivers folder in a new project</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539791#M6653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Fri Jul 15 15:47:29 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably need to remove crp.c from the drivers folder (or tell LPCXpresso not to include it in the build) the example package with the drivers folder was created before LPCXpresso had its own CRP feature in the wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Including-the-drivers-folder-in-a-new-project/m-p/539791#M6653</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:51:22Z</dc:date>
    </item>
  </channel>
</rss>

