<?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: Project Include Folders from Multiple Projects in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321176#M7269</link>
    <description>&lt;P&gt;Hello ErichS,&lt;/P&gt;&lt;P&gt;Thank you for the prompt reply.&amp;nbsp; I am in the process of looking at your answers for #2 and #3, but I think the include folders are correct and I have the .&amp;nbsp; Do you see anything that I missed?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chadgraham_0-1628604471900.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152469i9D3940109A1B7603/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chadgraham_0-1628604471900.png" alt="chadgraham_0-1628604471900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chadgraham_1-1628604487089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152470i10D5220370B2C8E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chadgraham_1-1628604487089.png" alt="chadgraham_1-1628604487089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Aug 2021 14:09:34 GMT</pubDate>
    <dc:creator>chadgraham</dc:creator>
    <dc:date>2021-08-10T14:09:34Z</dc:date>
    <item>
      <title>Project Include Folders from Multiple Projects</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321133#M7266</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I currently have a project that pulls from other projects depending on the build configuration.&amp;nbsp; I thought that I had it working, but it seems to "remember" files and randomly pull from the projects.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;I have my primary project that is specific to a design and will eventually have a custom board.&amp;nbsp; In a second project, I have stripped out everything except the pin_mux files so I can work with the dev board until the custom board is delivered.&amp;nbsp; Additionally, I have a common project that contains more generalized files and I'm treating it as a library.&amp;nbsp; In the primary project, I have added/renamed the build configurations such that I have a DevBoard_Debug, a ProjectSpecific_Debug, and Release.&amp;nbsp; For now, I'm simply trying to use the DevBoard_Debug to point to the secondary project "board" folder to pull the pin_mux files; I removed the reference to the primary "board" folder from the include folder.&amp;nbsp; However, as I walk through the code, I see files from the primary project "board" folder, the secondary project "board" folder, and the library "board" folder.&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I am fairly certain that part of my problem relates to the order in which the project(s) are including the files, but I cannot seem to located a definitive list on how the files are located/sourced in any of the documentation.&amp;nbsp; Is there a list somewhere?&lt;/LI&gt;&lt;LI&gt;I could simplify this if I could either assign a different name to the pin_mux files OR to specify a different folder than "board".&amp;nbsp; Is that possible?&lt;/LI&gt;&lt;LI&gt;Given my situation, does anyone have any suggestions, or another approach, that might solve my situation.&amp;nbsp; (I need it to be as simplified as possible so that I can release this method of structure to other members of my team that are not as familiar with the tools.)&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 10 Aug 2021 12:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321133#M7266</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-08-10T12:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Project Include Folders from Multiple Projects</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321155#M7267</link>
      <description>&lt;P&gt;1. I think the question is about #includes: here the rule is that include folders are processed in the order which is given by the -I option. You need to be a bit careful with using header files having the same name (which is not recommended) or if you are using recursive include folder structures.&lt;/P&gt;&lt;P&gt;2. You always could do 'link to files or folders' in your project (&lt;A href="https://mcuoneclipse.com/2014/08/15/link-to-files-and-folders-in-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2014/08/15/link-to-files-and-folders-in-eclipse/&lt;/A&gt; ). I'm heavily doing this for 'common' parts similar to your project (I think). I'm think all the names and folder names for the config tools are fixed, and I don't remember a way to change this.&lt;/P&gt;&lt;P&gt;3. You might have a look at the structure I have used with &lt;A href="https://github.com/ErichStyger/MetaClockClock" target="_blank"&gt;https://github.com/ErichStyger/MetaClockClock&lt;/A&gt; . They do share 98% of the code and several boards/configurations have been implemented. But the config tools are still dedicated for each project.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 13:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321155#M7267</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-08-10T13:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Project Include Folders from Multiple Projects</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321176#M7269</link>
      <description>&lt;P&gt;Hello ErichS,&lt;/P&gt;&lt;P&gt;Thank you for the prompt reply.&amp;nbsp; I am in the process of looking at your answers for #2 and #3, but I think the include folders are correct and I have the .&amp;nbsp; Do you see anything that I missed?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chadgraham_0-1628604471900.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152469i9D3940109A1B7603/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chadgraham_0-1628604471900.png" alt="chadgraham_0-1628604471900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chadgraham_1-1628604487089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152470i10D5220370B2C8E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chadgraham_1-1628604487089.png" alt="chadgraham_1-1628604487089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 14:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321176#M7269</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-08-10T14:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Project Include Folders from Multiple Projects</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321209#M7270</link>
      <description>&lt;P&gt;Try adding the -H option to the compiler which will print each include file used. You can then use the output to debug what you are doing wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 15:34:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321209#M7270</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-08-10T15:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Project Include Folders from Multiple Projects</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321984#M7273</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;After studying the above links and some experimentation, I came across a possible solution that seems to work well in my situation; I added controlled filters to the source location.&amp;nbsp; The filters appear to be specific to my build configurations and this works really well with a sample size of 1.&amp;nbsp; Not sure if this is useful to other people, but thought I'd at least share.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 15:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1321984#M7273</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-08-11T15:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Project Include Folders from Multiple Projects</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1322102#M7275</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/101064"&gt;@chadgraham&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you provide a reference to "Controlled Filters" in Eclipse?&amp;nbsp; I couldn't find anything when I did a search.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm in a similar situation and I would like to understand how this can be automated.&lt;/P&gt;&lt;P&gt;Thanx!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:01:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1322102#M7275</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2021-08-11T19:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Project Include Folders from Multiple Projects</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1322113#M7276</link>
      <description>&lt;P&gt;Hi Myke,&lt;/P&gt;&lt;P&gt;The filters I'm using are part of the Source Location tab.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chadgraham_0-1628710294424.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152651iB03A16F7E5505EC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chadgraham_0-1628710294424.png" alt="chadgraham_0-1628710294424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For me, it was enough to&amp;nbsp; filter out the pin_mux files so the compiler didn't see them and it looked in the other folder.&amp;nbsp; In the ProjectSpecific and Release build configurations, I didn't add the secondary project to the include list and I didn't need to add the filter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chadgraham_1-1628710402585.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152652iDDC981DC3B67FD75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chadgraham_1-1628710402585.png" alt="chadgraham_1-1628710402585.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:34:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Project-Include-Folders-from-Multiple-Projects/m-p/1322113#M7276</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-08-11T19:34:05Z</dc:date>
    </item>
  </channel>
</rss>

