<?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>LPC Microcontrollers中的主题 Re: How to setup GCC-based toolchain</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769127#M30954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE V10.0.2 b411 is currently shipping with GNU Tools for ARM Embedded Processors 5 - Q3 2016.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2017 06:20:54 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2017-11-13T06:20:54Z</dc:date>
    <item>
      <title>How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769124#M30951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for some guidance on programming for&amp;nbsp;LPC modules (especially&amp;nbsp;LPC1768) and have a few questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;There are recent builds of GCC toolchain available for these architectures (&lt;A class="link-titled" href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm" title="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"&gt;GNU Arm Embedded Toolchain – Arm Developer&lt;/A&gt;&amp;nbsp;). Where I can find the headers, libraries, and drivers for a specific LPC module from NXP website?&lt;/LI&gt;&lt;LI&gt;Is there any limitations on the available C++ features in those toolchains (e.g. C++ threads, mutexes)? The Keil has the concept of "Task" for threading. How can multi-threading can be accomplished with these generic GCC toolchains?&lt;/LI&gt;&lt;LI&gt;What tools do you recommend that provides a recent compiler support (e.g. C++14) together with support for hardware/debugging? Some options that come to my mind:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Keil (which has partial support for C++11/14)&lt;/LI&gt;&lt;LI&gt;Eclipse with a prebulit GCC-toolchain from ARM (&lt;A class="link-titled" href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm" title="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"&gt;GNU Arm Embedded Toolchain – Arm Developer&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Some IDE provided by NXP&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Nov 2017 06:04:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769124#M30951</guid>
      <dc:creator>isaacnickaein</dc:creator>
      <dc:date>2017-11-12T06:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769125#M30952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I recommend that you use the MCUXpresso IDE (&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/mcuxpresso-software-and-tools/mcuxpresso-integrated-development-environment-ide-v10.0.2:MCUXpresso-IDE?&amp;amp;tid=vanMCUXPRESSO/IDE" title="https://www.nxp.com/support/developer-resources/run-time-software/mcuxpresso-software-and-tools/mcuxpresso-integrated-development-environment-ide-v10.0.2:MCUXpresso-IDE?&amp;amp;tid=vanMCUXPRESSO/IDE"&gt;MCUXpresso IDE|NXP&lt;/A&gt;&amp;nbsp;) with the MCUXPresso SDK (&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;&amp;nbsp;): that way you get everything and you don't have to worry about all the parts and all the setup. Of course you can build your own toolchain and IDE, but this requires a decent knowledge of all the parts and pieces. I wrote several tutorials (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2017/07/30/breathing-with-oxygen-diy-arm-cortex-m-cc-ide-and-toolchain-with-eclipse-oxygen/" title="https://mcuoneclipse.com/2017/07/30/breathing-with-oxygen-diy-arm-cortex-m-cc-ide-and-toolchain-with-eclipse-oxygen/"&gt;Breathing with Oxygen: DIY ARM Cortex-M C/C++ IDE and Toolchain with Eclipse Oxygen | MCU on Eclipse&lt;/A&gt; ), but again I recommend this only if you are really an expert and if you have very special needs. And again: get the MCUXpresso IDE and then you have something working and a solid base (you still could do a DIY afterwards if you really insist).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) the standard way is to use FreeRTOS (freertos.org). Here again you have everything setup for you in the MCUXpresso SDK and MCUXpresso IDE. This gives you threads/mutexes/semaphores plus all the needed debug views inside the MCUXpresso IDE and C++ support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Here again, I recommend to use the MCUXpresso IDE which comes with the GNU gcc toolchain. The current version of the IDE is v10.0.2, but there will be a new version in the near future which integrates the latest GNU toolchain with all the latest bells and whistles for C++. It supports the P&amp;amp;E, Segger and LPC-Link2 (CMSIS-DAP, LinkServer) debug probes (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2017/05/06/using-the-lpcxpresso-v2v3-boards-to-debug-an-external-board/lpc-link2-debug-probe/" title="https://mcuoneclipse.com/2017/05/06/using-the-lpcxpresso-v2v3-boards-to-debug-an-external-board/lpc-link2-debug-probe/"&gt;LPC-Link2 Debug Probe | MCU on Eclipse&lt;/A&gt;&amp;nbsp;).&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>Sun, 12 Nov 2017 07:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769125#M30952</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-11-12T07:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769126#M30953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know what version of GCC is currently shipped with MCUXpresso? We are planning to use &lt;A href="https://google.github.io/flatbuffers/"&gt;flatbuffers&lt;/A&gt;&amp;nbsp;library for message passing and its generated code requires a C++11 compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, I am going to give MCUXpresso a try and follow your tutorial if the were any serious obstacles. A plus for&amp;nbsp;&lt;SPAN&gt;MCUXpresso&amp;nbsp;&lt;/SPAN&gt;is being based on Eclipse which we are already familiar with. BTW,&amp;nbsp;cool name for IDE!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick response,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Nov 2017 08:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769126#M30953</guid>
      <dc:creator>isaacnickaein</dc:creator>
      <dc:date>2017-11-12T08:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769127#M30954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE V10.0.2 b411 is currently shipping with GNU Tools for ARM Embedded Processors 5 - Q3 2016.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 06:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/769127#M30954</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-11-13T06:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1440268#M48427</link>
      <description>&lt;P&gt;Hey, I couldn't find any SDK builder for `nxp lpc1768`&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 06:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1440268#M48427</guid>
      <dc:creator>hamidb80</dc:creator>
      <dc:date>2022-04-07T06:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1487067#M49533</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1452"&gt;@BlackNight&lt;/a&gt;&amp;nbsp;, I have a similar question. I have an old project on LPC2138 MCU maybe build on keil v4. Now after a long time ago I am not able to compile on it new PC and keil V5. I saw there is an "Make.bat" file in script folder which uses "arm-elf-c++.exe GNU-Compiler Version 3.3.2" to compile and build the project.&lt;/P&gt;&lt;P&gt;I don't have to access to that PC, where it was build originally. Can you help me to find this compiler or make this project compatible with keil v5 with default compiler or any other method to compile this project.&lt;/P&gt;&lt;P&gt;#lpc2138&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 12:23:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1487067#M49533</guid>
      <dc:creator>fans_ahmad</dc:creator>
      <dc:date>2022-07-10T12:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1487068#M49534</link>
      <description>&lt;P&gt;The easiest thing would be if you buy that exact compiler/toolchain from Keil (they are now part of ARM).&lt;/P&gt;&lt;P&gt;Or you can port that project, but in my experience this is probably not easy, because the Keil compiler is using lots of proprietary extensions which are not easy to port to another tool chain. Certainly doable, and probably the best long-term way if you would use the GNU gcc tool chain.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 12:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1487068#M49534</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-07-10T12:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1487070#M49535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your quick response, the future plan is to use&amp;nbsp;GNU gcc toolchain only. But just to see if the project compiles well in current project we need that arm-elf toolchain. Anyways, can you share link to buy or evaluate arm-elf toolchain? Or do we need to contact keil directly for the same?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 12:43:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1487070#M49535</guid>
      <dc:creator>fans_ahmad</dc:creator>
      <dc:date>2022-07-10T12:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup GCC-based toolchain</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1487073#M49536</link>
      <description>&lt;P&gt;The Keil compiler and tool chain is proprietary and closed source. You have to buy it from ARM/Keil.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 13:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-setup-GCC-based-toolchain/m-p/1487073#M49536</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-07-10T13:15:10Z</dc:date>
    </item>
  </channel>
</rss>

