<?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>MCUXpresso Config Tools中的主题 Re: SEMC_1_PERIPHERAL missing from peripherals.h</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934607#M718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right. Also, note that the fix will be included in the next release of Config Tools for MCUXpresso IDE, which will happen in December.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2019 08:14:56 GMT</pubDate>
    <dc:creator>addiyi</dc:creator>
    <dc:date>2019-10-04T08:14:56Z</dc:date>
    <item>
      <title>SEMC_1_PERIPHERAL missing from peripherals.h</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934603#M714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using&amp;nbsp;MCUXpresso 11.01 ConfigTools for the MIMXRT1062DVJ6A and have added the SEMC to my project. The SEMC configuration in the Peripherals tool is the default, except that, under General configuration, I've set&amp;nbsp; SDRAM configuration/CS pin mux to "MUX RDY pin". The generated peripherals.h file does not define SEMC_1_PERIPHERAL, but the generated peripherals.c file does reference it. Since the file is read-only, I have to make it writable, add the macro definition&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/* Definition of peripheral ID */&lt;BR /&gt;#define SEMC_1_PERIPHERAL SEMC&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and remember to add it back if I&amp;nbsp;make a change that requires the code to be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I missed some configuration step that would resulted in the Peripherals tool automatically generating the macro definition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 13:33:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934603#M714</guid>
      <dc:creator>jeffthompson</dc:creator>
      <dc:date>2019-10-02T13:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: SEMC_1_PERIPHERAL missing from peripherals.h</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934604#M715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, the code that is generated to initialize and configure the SEMC discards the const declaration of the respective structures, resulting in compiler warnings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 15:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934604#M715</guid>
      <dc:creator>jeffthompson</dc:creator>
      <dc:date>2019-10-02T15:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: SEMC_1_PERIPHERAL missing from peripherals.h</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934605#M716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #172b4d; background-color: #ffffff;"&gt;As workaround in generated peripherals.h add below code:&lt;/P&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;/* Definition of peripheral ID */&lt;BR /&gt;#define SEMC_1_PERIPHERAL SEMC&lt;/P&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 11:29:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934605#M716</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2019-10-03T11:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: SEMC_1_PERIPHERAL missing from peripherals.h</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934606#M717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response. However, this is the same temporary fix that I mentioned in my original post which, as I also mentioned, has the problem that, if I need to make configuration changes, it will be overwritten by a new peripherals.h file generated by the config tool. So, this is a ConfigTools bug that needs to be resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a better workaround, I added a definition for SEMC_1_PERIPHERAL to the defined symbols passed to the preprocessor during the build. That should not be affected by ConfigTools updating generated code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 14:26:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934606#M717</guid>
      <dc:creator>jeffthompson</dc:creator>
      <dc:date>2019-10-03T14:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: SEMC_1_PERIPHERAL missing from peripherals.h</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934607#M718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right. Also, note that the fix will be included in the next release of Config Tools for MCUXpresso IDE, which will happen in December.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 08:14:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/SEMC-1-PERIPHERAL-missing-from-peripherals-h/m-p/934607#M718</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2019-10-04T08:14:56Z</dc:date>
    </item>
  </channel>
</rss>

