<?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 IDE中的主题 Re: update compiler in MCUXpresso</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/update-compiler-in-MCUXpresso/m-p/834498#M3195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCUXpresso IDE is developed and tested&amp;nbsp;as an integrated IDE package, and it is not designed with the intention of the user being able to replace the supplied GCC tools with a different version. Although we do ship the ARM Embedded GCC package, it&amp;nbsp;isn't just a matter of a straight drop in to change your IDE install to use a different version. Thus although this is theoretically possible to change the version, it isn't something we would generally recommend attempting nor is it something we could provide any assistance on you doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I would highlight that during the lifetime of MCUXpresso IDE since its first release back in April 2017 - and before that with LPCXpresso IDE - we have for many years being updating the version of the GCC package that we ship on a regular basis. Our general aim is to ship the latest ARM release that was available for the majority of the period that a particular IDE release was developed during - to allow for any changes required within the IDE as well as for testing purposes (both of the IDE, as well as the associated MCUXpresso SDK packages).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus we moved to the GCC7 package (released by ARM in December 2017) in our IDE v10.2 (released May 2018). And we intend to ship the GCC7 Q2 update that ARM released a few&amp;nbsp;days ago in our next major release (currently expected around mid-Q4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2018 18:55:33 GMT</pubDate>
    <dc:creator>lpcxpresso_supp</dc:creator>
    <dc:date>2018-06-29T18:55:33Z</dc:date>
    <item>
      <title>update compiler in MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/update-compiler-in-MCUXpresso/m-p/834496#M3193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;Questions&lt;/H1&gt;&lt;P&gt;MCUXpresso uses GNU Arm Embeeded Toolchain (gcc-arm-none-eabi), right? Where does it get that from? Did it come bundled with the installation? Or does the user install it separately? (I don't remember.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I make MCUXpresso use the latest GCC?&lt;/STRONG&gt; If I install the latest&amp;nbsp;&lt;A href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads"&gt;GNU Arm Embedded Toolchain&lt;/A&gt;, is there a way to point MCUXpresso to it? Or do I have to wait until the next version integrates it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;Background /&amp;nbsp;Motivation&lt;/H1&gt;&lt;P&gt;I have a project which I build both with&amp;nbsp;&lt;A href="https://github.com/ARMmbed/mbed-cli"&gt;Mbed CLI&lt;/A&gt;&amp;nbsp;using the GNU_ARM compiler, and with MCUXpresso. In this project, if I &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#include&lt;/SPAN&gt;d files in the "wrong" order, I would get cryptic error messages&amp;nbsp;as shown below&amp;nbsp;from Mbed CLI. That's using GNU Tools ARM Embedded&amp;nbsp;6 2017-q2-update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I made&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;mbed compile&lt;/SPAN&gt;&amp;nbsp;use the latest GNU Tools (7 2018 q2 update, by updating the project's &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;mbed_settings.py&lt;/SPAN&gt;), it works fine, regardless of the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#include&lt;/SPAN&gt; order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I got similar errors&amp;nbsp;from MCUXpresso, though I can't seem to reproduce it at the moment. Regardless, I want to be using the same toolchain on both, thus my questions above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;$ mbed compile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Building project mbed-os-emb-cli-cryptic-build-err (LPC4088, GCC_ARM)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Scan: .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Scan: mbed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Scan: env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Scan: FEATURE_LWIP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Compile [100.0%]: main.cpp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Error] LineEditor.h@6,15: '_impure_ptr' is not a type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Error] LineEditor.h@6,15: expected identifier before '(' token&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Error] LineEditor.h@6,15: expected ')' before '-&amp;gt;' token&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Error] LineEditor.h@6,15: expected ')' before '-&amp;gt;' token&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Error] LineEditor.h@6,15: '_stdout' does not name a type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Error] LineEditor.h@6,15: trailing return type only available with -std=c++11 or -std=gnu++11&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Error] LineEditor.h@6,15: expected ';' at end of member declaration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Error] LineEditor.h@6,15: expected unqualified-id before ')' token&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[ERROR] In file included from c:\program files (x86)\gnu tools arm embedded\6 2017-q2-update\arm-none-eabi\include\string.h:11:0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; from ./mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_lib.h:29,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; from ./mbed-os/rtos/TARGET_CORTEX/mbed_rtos_storage.h:43,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; from ./mbed-os/rtos/Thread.h:28,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; from .\main.cpp:1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./embedded-commandline/src/LineEditor.h:6:15: error: '_impure_ptr' is not a type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; virtual void putchar(char c) = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;In file included from ./mbed-os/platform/mbed_debug.h:27:0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; from ./mbed-os/platform/NonCopyable.h:21,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; from ./mbed-os/rtos/Thread.h:31,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; from .\main.cpp:1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./embedded-commandline/src/LineEditor.h:6:15: error: expected identifier before '(' token&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; virtual void putchar(char c) = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./embedded-commandline/src/LineEditor.h:6:15: error: expected ')' before '-&amp;gt;' token&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; virtual void putchar(char c) = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./embedded-commandline/src/LineEditor.h:6:15: error: expected ')' before '-&amp;gt;' token&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./embedded-commandline/src/LineEditor.h:6:15: error: '_stdout' does not name a type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; virtual void putchar(char c) = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; ^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./embedded-commandline/src/LineEditor.h:6:15: error: trailing return type only available with -std=c++11 or -std=gnu++11&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./embedded-commandline/src/LineEditor.h:6:15: error: expected ';' at end of member declaration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./embedded-commandline/src/LineEditor.h:6:15: error: expected unqualified-id before ')' token&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; virtual void putchar(char c) = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; ^&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[mbed] ERROR: "C:\Python27\python.exe" returned error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; Code: 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; Path: "C:\dev_temp\mbed-os-emb-cli-cryptic-build-err"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; Command: "C:\Python27\python.exe -u C:\dev_temp\mbed-os-emb-cli-cryptic-build-err\mbed-os\tools\make.py -t GCC_ARM -m LPC4088 --source . --build .\BUILD\LPC4088\GCC_ARM"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; Tip: You could retry the last command with "-v" flag for verbose output&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 15:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/update-compiler-in-MCUXpresso/m-p/834496#M3193</guid>
      <dc:creator>bmcdonnell_ionx</dc:creator>
      <dc:date>2018-06-29T15:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: update compiler in MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/update-compiler-in-MCUXpresso/m-p/834497#M3194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like it's bundled with MCUXpresso IDE. I found&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;C:\nxp\MCUXpressoIDE_10.2.0_759\ide\tools\release.txt&lt;/SPAN&gt;, which says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;*************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;GNU Tools for Arm Embedded Processors 7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Q4 2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;*************************************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this is late enough to resolve the issue I was having.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still, is there a way to use a later version of the toolchain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 16:12:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/update-compiler-in-MCUXpresso/m-p/834497#M3194</guid>
      <dc:creator>bmcdonnell_ionx</dc:creator>
      <dc:date>2018-06-29T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: update compiler in MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/update-compiler-in-MCUXpresso/m-p/834498#M3195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCUXpresso IDE is developed and tested&amp;nbsp;as an integrated IDE package, and it is not designed with the intention of the user being able to replace the supplied GCC tools with a different version. Although we do ship the ARM Embedded GCC package, it&amp;nbsp;isn't just a matter of a straight drop in to change your IDE install to use a different version. Thus although this is theoretically possible to change the version, it isn't something we would generally recommend attempting nor is it something we could provide any assistance on you doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I would highlight that during the lifetime of MCUXpresso IDE since its first release back in April 2017 - and before that with LPCXpresso IDE - we have for many years being updating the version of the GCC package that we ship on a regular basis. Our general aim is to ship the latest ARM release that was available for the majority of the period that a particular IDE release was developed during - to allow for any changes required within the IDE as well as for testing purposes (both of the IDE, as well as the associated MCUXpresso SDK packages).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus we moved to the GCC7 package (released by ARM in December 2017) in our IDE v10.2 (released May 2018). And we intend to ship the GCC7 Q2 update that ARM released a few&amp;nbsp;days ago in our next major release (currently expected around mid-Q4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 18:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/update-compiler-in-MCUXpresso/m-p/834498#M3195</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-06-29T18:55:33Z</dc:date>
    </item>
  </channel>
</rss>

