<?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>LPCXpresso IDEのトピックRe: how to include files?</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576961#M22975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by renan on Mon Sep 06 04:12:20 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean including files in your project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or do you mean using another project files as includes to your main project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Renan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:56:49 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:56:49Z</dc:date>
    <item>
      <title>how to include files?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576960#M22974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zeal007 on Mon Sep 06 01:47:50 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]good day everyone,[/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]How can we add files in LPCXpresso so that it will be included in the Build process of the project?[/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]And/Or how can we add files too, so that it will be part of the compiler options?[/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]thanks...[/B]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576960#M22974</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to include files?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576961#M22975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by renan on Mon Sep 06 04:12:20 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean including files in your project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or do you mean using another project files as includes to your main project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Renan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:56:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576961#M22975</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to include files?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576962#M22976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zeal007 on Mon Sep 06 17:25:44 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hmmm, including files for my project. But you can share too, how to include existing project to another main project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:56:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576962#M22976</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to include files?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576963#M22977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Sep 07 00:53:11 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;To include a header file stored in the same directory as your source, simply use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New][SIZE=1]#include "header.h"[/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you header file is stored in a different directory toyour source code, for example in the "inc" subdirectory of the project then you can either use the following in your source:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New][SIZE=1]#include "../header.h"[/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or leave the include without the relative path information and instead modify the project settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C/C++ Build -&amp;gt; MCU C Compiler -&amp;gt; Directories&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and add [FONT=Courier New][SIZE=1]"../inc"[/SIZE][/FONT] to the include paths. You can also browse to the directory you want to use for include files, but be warned that this can cause problems, for example, if you change the name of the project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To include headers (and code) from library projects, please see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]Using library projects from your own projects[/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://lpcxpresso.code-red-tech.com/LPCXpresso/node/22&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would also suggest that you also take a look at the way the example projects are set up. Many of these use both local include files, and also include files from library projects (such as the CMSIS one).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/how-to-include-files/m-p/576963#M22977</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:56:50Z</dc:date>
    </item>
  </channel>
</rss>

