<?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>Kinetis Design StudioのトピックRe: KDS - Preprocessor tool settings define symbols issue</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436378#M3933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich, that fixed it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to un-select “Allow heuristic resolution of includes” and select  “Use active build configuration” in preferences and it if working fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 14:07:30 GMT</pubDate>
    <dc:creator>johnbaker</dc:creator>
    <dc:date>2015-05-15T14:07:30Z</dc:date>
    <item>
      <title>KDS - Preprocessor tool settings define symbols issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436375#M3930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a KDS project with 5 different build configurations.&amp;nbsp; Each build configuration defines unique symbols based on final project type that are referenced throughout the code to include or exclude source code.&amp;nbsp; When I set any build configuration as active and build the project KDS recognizes the appropriate symbols and works like a champ.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that when I am making changes to the code ALL of the source code is grayed out because the none of the symbols are set in code.&amp;nbsp; When I now right-click on a variable or function and try to "Open Declaration" it no longer works.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anybody else run into this situation or know how to correct it?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could define the appropriate symbols for each build configuration in the code as I was doing before but the reason I changed it in the first place was so that I would not screw up and forget to change the #define's to the correct settings before building.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried defining ALL of the symbol in the source but that made things even worse when I went to do a build.&amp;nbsp; (MANY Errors due to all code being included!)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John Baker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 12:58:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436375#M3930</guid>
      <dc:creator>johnbaker</dc:creator>
      <dc:date>2015-05-15T12:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: KDS - Preprocessor tool settings define symbols issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436376#M3931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;if you have that 'grayed out' code problem, I think you see an old Eclipse Indexer problem: see &lt;A href="http://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/" title="http://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/"&gt;Fixing the Eclipse Index | MCU on Eclipse&lt;/A&gt;&amp;nbsp; for the explanation and solution for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 13:31:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436376#M3931</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-05-15T13:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: KDS - Preprocessor tool settings define symbols issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436377#M3932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Once you have built/compiled the target, right click on the project folder the surf to Index-&amp;gt;Rebuild to have the index registry rebuilt.&amp;nbsp; I think that will work for you.&lt;/P&gt;&lt;P&gt;Yell if it doesn't.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 13:33:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436377#M3932</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-05-15T13:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: KDS - Preprocessor tool settings define symbols issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436378#M3933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich, that fixed it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to un-select “Allow heuristic resolution of includes” and select  “Use active build configuration” in preferences and it if working fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 14:07:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436378#M3933</guid>
      <dc:creator>johnbaker</dc:creator>
      <dc:date>2015-05-15T14:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: KDS - Preprocessor tool settings define symbols issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436379#M3934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this first.&amp;nbsp; No change.&amp;nbsp; I had to make a couple of changes in my indexer preferences (see reply to Erich and attached snapshot) and it works fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 14:10:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-Preprocessor-tool-settings-define-symbols-issue/m-p/436379#M3934</guid>
      <dc:creator>johnbaker</dc:creator>
      <dc:date>2015-05-15T14:10:36Z</dc:date>
    </item>
  </channel>
</rss>

