<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Setup Eclipse/GCC for C++ and mbed project debugging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11432/setup-eclipse-gcc-for-c-and-mbed-project-debugging</link><description>Hi All, 
 I would like to setup my Eclipse and GCC for compiling and debugging C++ &amp;amp; mbed projects on nRF51 DK. The setup procedure explained in tutorial Development with GCC and Eclipse supports only Nordic SDK examples. 
 Is there a procedure or workaround</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2016 14:29:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11432/setup-eclipse-gcc-for-c-and-mbed-project-debugging" /><item><title>RE: Setup Eclipse/GCC for C++ and mbed project debugging</title><link>https://devzone.nordicsemi.com/thread/43114?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2016 14:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab4c5ee7-b376-4bb6-b766-cc13294df88c</guid><dc:creator>Ric</dc:creator><description>&lt;p&gt;Hi Christopher,
Thank you for your response. I tried following the cookbook but I was unable to setup the code sourcery toolchain but I was unable to setup that in Eclipse.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setup Eclipse/GCC for C++ and mbed project debugging</title><link>https://devzone.nordicsemi.com/thread/43113?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2016 18:33:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ae3979b-3e7d-444e-afe8-353bbe90ad71</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;What about the &lt;code&gt;GCC4MBED&lt;/code&gt; project ?
&lt;a href="https://github.com/adamgreen/gcc4mbed#quick-start"&gt;github.com/.../gcc4mbed&lt;/a&gt;. Here is a setup guide: &lt;a href="https://developer.mbed.org/cookbook/eclipse-for-building-and-debugging"&gt;developer.mbed.org/.../eclipse-for-building-and-debugging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can also try to create an mbed &amp;quot;Hello World&amp;quot; project from the mbed online IDE and then export the project to Eclipse (with the repositories / libraires). &lt;a href="https://developer.mbed.org/handbook/Exporting-to-Eclipse-IDEs"&gt;Here is a guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;@mjdietz2 Using the &lt;a href="http://gnuarmeclipse.github.io/"&gt;GNU Arm Eclipse&lt;/a&gt; plugin you can link any library or source code (can be the nRF SDK or mbed SDK) with ease. You can configure the project using a GUI and Eclipse will generate a Makefile automatically for you. There is plenty of documentation and guide about this. GCC, GDB and OpenOCD comes for free - it&amp;#39;s a one click button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setup Eclipse/GCC for C++ and mbed project debugging</title><link>https://devzone.nordicsemi.com/thread/43112?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 09:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc4bc29f-3de4-4b96-aec4-0b6de5eaa1f8</guid><dc:creator>Ric</dc:creator><description>&lt;p&gt;Thanks Micheal, I will give it a try and come back if this works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setup Eclipse/GCC for C++ and mbed project debugging</title><link>https://devzone.nordicsemi.com/thread/43111?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2016 19:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80e1dca6-bfe6-4585-97e2-3248be4fb6aa</guid><dc:creator>Michael Dietz</dc:creator><description>&lt;p&gt;Hey, I only debugged an mbed application once and it was about a year ago. But maybe this will help. If I remember correctly you can convert an mbed project to a Keil project, and then compile and debug in Keil. I&amp;#39;m guessing Keil isn&amp;#39;t an option either because of platform or code limit for free version. And setting up eclipse and GCC and debugging is a huge pain, and doing it with an mbed project sounds like a nightmare.&lt;/p&gt;
&lt;p&gt;Try this. Convert the mbed project to a keil project. Follow this blog post I just made and import that keil project into Segger Embedded Studio (free IDE that uses the GCC compiler but has great debugging features). Now compile and debug the application from here. &lt;a href="https://devzone.nordicsemi.com/blogs/825/segger-embedded-studio-cross-platform-ide-w-no-cod/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is the best workaround I can think of and keep in mind I am no expert with mbed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>