<?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 General中的主题 Re: SDK_2.2.0_TWR-K60D100M generated code does not compile</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981090#M2732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Peripherals tool components are downloaded automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To remove component, you can right-click on it in the Components tab and select Remove:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98967i46B4774C9F060F24/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add a new one, click on the "+" button next to "Peripheral drivers" title. In the Component selector window, make sure that the "Show only latest component versions":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99009iCFF2B66A620F7663/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2020 08:56:34 GMT</pubDate>
    <dc:creator>Lukas_Heczko</dc:creator>
    <dc:date>2020-01-22T08:56:34Z</dc:date>
    <item>
      <title>SDK_2.2.0_TWR-K60D100M generated code does not compile</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981087#M2729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've updated my MCUXpresso toolchain to release 11.0.0&lt;/P&gt;&lt;P&gt;I generated a new TWR_K60D100M SDK package from the NXP MCUXpresso SDK builder (&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/dashboard" title="https://mcuxpresso.nxp.com/en/dashboard"&gt;https://mcuxpresso.nxp.com/en/dashboard&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;I import this new SDK into MCUXpresso IDE and generated a new workspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then generated a new SDK project named UartExample.&amp;nbsp; The example project used all default settings plus the freertos OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the code compiles and run fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then added the new peripheral UART3 using the MCUXpresso Config Tools and allowed the tools to update my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The newly generated code does not compile.&amp;nbsp; It appears to require a changed&amp;nbsp;structure definition for uart_config_t from the fsl_uart class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My sample code can be found at the following repository:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/tsbiberdorf/twrK60D_UartExample.git" title="https://github.com/tsbiberdorf/twrK60D_UartExample.git"&gt;GitHub - tsbiberdorf/twrK60D_UartExample: K60D SDK example code does not compile&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all generated code from MCUExpresso tools, what steps did I not follow correctly when adding new peripherals?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 17:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981087#M2729</guid>
      <dc:creator>tbiberdorf</dc:creator>
      <dc:date>2020-01-20T17:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: SDK_2.2.0_TWR-K60D100M generated code does not compile</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981088#M2730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Terry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the compilation error is caused by combination of incompatible version of Peripherals tool component and SDK driver. Your project is based on MCUXpresso SDK v2.2 which contains&amp;nbsp;UART driver v2.1.4, however, in Peripherals tool you are using UART component for SDK driver v2.1.5 which has different API from v2.1.4 (the &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;uart_config_t differs&lt;/SPAN&gt;). Please remove the Peripherals tool component v2.1.5 and replace it with v2.1.4 using component selector:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97231i4578034A8AD587CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be also visible warning about the incompatible versions in the MCUXpresso Config Tools Problems view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97184i7D60E9A6DCEFDD64/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 15:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981088#M2730</guid>
      <dc:creator>Lukas_Heczko</dc:creator>
      <dc:date>2020-01-21T15:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: SDK_2.2.0_TWR-K60D100M generated code does not compile</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981089#M2731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a link&amp;nbsp;on directions to remove and replace the toll component.&amp;nbsp; The one link I did find&amp;nbsp;&lt;A href="https://community.nxp.com/thread/506760"&gt;https://community.nxp.com/thread/506760&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attempted to perform the "right button" of the warning, but could not get the indicated window to appear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 21:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981089#M2731</guid>
      <dc:creator>tbiberdorf</dc:creator>
      <dc:date>2020-01-21T21:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: SDK_2.2.0_TWR-K60D100M generated code does not compile</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981090#M2732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Peripherals tool components are downloaded automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To remove component, you can right-click on it in the Components tab and select Remove:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98967i46B4774C9F060F24/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add a new one, click on the "+" button next to "Peripheral drivers" title. In the Component selector window, make sure that the "Show only latest component versions":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99009iCFF2B66A620F7663/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 08:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981090#M2732</guid>
      <dc:creator>Lukas_Heczko</dc:creator>
      <dc:date>2020-01-22T08:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: SDK_2.2.0_TWR-K60D100M generated code does not compile</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981091#M2733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it now appears to be working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 15:09:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/SDK-2-2-0-TWR-K60D100M-generated-code-does-not-compile/m-p/981091#M2733</guid>
      <dc:creator>tbiberdorf</dc:creator>
      <dc:date>2020-01-22T15:09:56Z</dc:date>
    </item>
  </channel>
</rss>

