<?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>Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16948/blinky-example-errors-and-development-with-gcc-and-eclipse</link><description>Hi,
I&amp;#39;m using Eclipse Mars 5.2 on Windows 10 along with the GNU Toolchain as described in the &amp;quot;Development with GCC and Eclipse Tutorial&amp;quot; by Vidar Berg (Thanks very much for putting this together!). I&amp;#39;m trying to get the blinky example from the SDK 12</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 23 Oct 2016 22:17:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16948/blinky-example-errors-and-development-with-gcc-and-eclipse" /><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64984?ContentTypeID=1</link><pubDate>Sun, 23 Oct 2016 22:17:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03ff9f9-5b4e-49f6-9b0e-dbe934dbf398</guid><dc:creator>labeardslee</dc:creator><description>&lt;p&gt;I think I finally got everything to work properly. There must have been some issue with the paths and where I placed the SDK files. I decided to try SDK 12.1 instead of 12.0. This time I placed the SDK on my desktop (Windows 10). Previously I had place the SDK files within a folder in &amp;quot;Documents&amp;quot;. Using SDK 12.1 (placed on the Desktop) I can get the blinky project to compile. But, if I place the SDK 12.1 files in the &amp;quot;Documents&amp;quot; folder and remake the project from the makefile as per the tutorial it no longer compiles. Thanks for all the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64983?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2016 10:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51e5a486-1b2d-485f-b097-fe407c55be38</guid><dc:creator>labeardslee</dc:creator><description>&lt;p&gt;Thanks for your comment. As stated in previous posts I&amp;#39;ve replaced the makefile as above and it fixed the &amp;quot;error 1&amp;quot; that I was getting (please see posts above). But, it does not fix the NRF_GPIO register error that I&amp;#39;m getting. Not sure how to fix this....It looks like you&amp;#39;re using SDK 12.1 instead of 12.0 (I&amp;#39;m using 12.0). I wonder if switching to 12.1 could fix my error? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64982?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2016 07:36:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac73fea3-5e2b-4577-bf3c-457409ae108c</guid><dc:creator>ricsilvs</dc:creator><description>&lt;p&gt;Hi, the message: &amp;quot;make: nothing to be done for &amp;#39;default&amp;#39;&amp;quot; appears when there is nothing left to compile since you didn&amp;#39;t changed anything in your project since the last build, try for example to add a space, and it should compile. You need to replace the Makefile.common file in the following directory &amp;quot;/nRF5_SDK_12.1.0_0d23e2a/components/toolchain/gcc&amp;quot;, inside the SDK folder. You can find the the correct Makefile.common attached to @Vidar Berg answear&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64981?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 23:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1a48ac4-ac9e-4747-b649-a067e3d62ef6</guid><dc:creator>labeardslee</dc:creator><description>&lt;p&gt;Thanks for the file. I placed in the pca10028 folder in the blinky example (and replaced the files there). Unfortunately, after setting up eclipse/the parser as per the tutorial I still get the same errors (Please see the attached image). I tried adding missing header files manually (ones that have an exclamation point next to them), but even after adding all the header files I still get the same errors. One other thing I realized: when I call make from the directory both with the attached project and the example I was working through I get an message stating: make: nothing to be done for &amp;#39;default&amp;#39;. Is there anything else I can try? Thanks!&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Eclipse-Output-20OCT2016.jpg" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64970?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 12:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c679339-7f93-4995-bb8b-0af5a82aae4d</guid><dc:creator>ricsilvs</dc:creator><description>&lt;p&gt;It solved my problem, thank you for your help. I also noticed that this problem is already reported in the tutorial, my fault.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64980?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 11:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edb2f91f-f915-4817-b876-8b800bb91f53</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;@ricsilvs, did you replace Makefile.common with the attached one? It is not possible to include attachments/images in comments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64979?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 11:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2d827cf-53d5-4481-a70c-ef94e4b12005</guid><dc:creator>ricsilvs</dc:creator><description>&lt;p&gt;I got the same problem, When I make the file in the command line it compiles properly, and when I build in the eclipse it also builds. However the eclipse displays some errors of unresolved inclusions.&lt;/p&gt;
&lt;p&gt;I think this problems come from the eclipse not recognizing some CLFAGS. For example in my makefile I have &amp;quot;CFLAGS += -DUSE_APP_CONFIG&amp;quot;, but in my code eclipse considers that USE_APP_CONFIG was not defined:
&amp;quot;#ifdef USE_APP_CONFIG&amp;quot;
&amp;quot;#include &amp;quot;app_config.h&amp;quot;&amp;quot;
&amp;quot;#endif&amp;quot;&lt;/p&gt;
&lt;p&gt;appears shadowed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64978?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 08:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:283e22dd-adb5-44b8-b7bc-89b5e8dd1964</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks, the parser seems to be partially working at least. Please try to import the attached blinky example and see if it works. I&amp;#39;ve tested it with Mars as well. Note that it should not be necessary to include the headers into the eclipse project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64977?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 16:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52a03310-a95f-4145-b646-4b82e6ea6948</guid><dc:creator>labeardslee</dc:creator><description>&lt;p&gt;Below are some images of the console output and problems output from the build as well as the CDT parser settings. Thanks!&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Console-Output.jpg" alt="image description" /&gt;
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Build-Output.jpg" alt="image description" /&gt;
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/CDT-GCC-Cross-Arm-Settings.jpg" alt="image description" /&gt;
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/CDT-Parser-Settings.jpg" alt="image description" /&gt;
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Build-Menu-.jpg" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64975?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 10:59:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1913aa1e-0fc0-4389-9e3d-5be08ca1b77c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m not seeing any pictures, maybe you can try a different web browser? I&amp;#39;m trying the Blinky example with Eclipse Neon right now, will upload the project soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64976?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 10:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72313fc4-80f2-4f57-ae42-b18e434d12b6</guid><dc:creator>labeardslee</dc:creator><description>&lt;p&gt;Any tips on how to upload the files. When I attach jpg files they don&amp;#39;t show up in the answer that I post? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64971?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 08:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8264ac65-ae92-4ee9-ac69-7d0cd2f05c4b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes that is what I meant, but not sure why it is not working. Please add some screenshots of your setup in the description that shows build log (built with the new Makefile.common file) and parser settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64974?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 00:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d74d583-fff7-463e-85db-60d47fb20036</guid><dc:creator>labeardslee</dc:creator><description>&lt;p&gt;I tried rebuilding the index by right clicking on the project folder in the &amp;quot;project explorer&amp;quot; menu and then selecting index and rebuild. Is this what you meant? Unfortunately, that doesn&amp;#39;t fix the errors. When I go to the parser as in the last image of the tutorial section on auto discovery of symbols I don&amp;#39;t see any of the folders in the screenshot within the tutorial. I assume this shows where my problem is coming from. I double checked the auto discovery steps that I performed and I can&amp;#39;t find an error. I&amp;#39;m using SDK 12.0 with the files I downloaded with the SDK (not ones provided in this tutorial). Not sure if that could be related to the issues that I&amp;#39;m having. Is there something else I can try? Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64973?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2016 13:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8bc3cb0-928b-4e6e-9266-07ec7bdc11ed</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Does it help if you try to rebuild the index in project options? Also, do you see if any symbols/include paths were included by the parser as shown in the last screenshot in the &amp;#39;Enable auto discovery of symbols, include paths and compiler settings&amp;#39; of the tutorial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64972?ContentTypeID=1</link><pubDate>Sat, 15 Oct 2016 15:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aae1de74-995b-4094-9020-1ea8669904d2</guid><dc:creator>labeardslee</dc:creator><description>&lt;p&gt;Thanks very much the Makefile that you attached fixed &amp;quot;Error 1&amp;quot; that I was getting. I had tried to modify the Makefile as per the post, but I must have done so incorrectly. Unfortunately, I still get an error that &amp;quot;Symbol NRF_GPIO&amp;quot; is not defined. I&amp;#39;m thinking that it&amp;#39;s because either I&amp;#39;m missing a header file or some sort of register definitions. But, I&amp;#39;ve gone over the code many times and I can&amp;#39;t figure out what I need to add to fix the error. I also tried updating the device family packs. Do you have any ideas on what might fix this? Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky Example Errors and Development with GCC and Eclipse</title><link>https://devzone.nordicsemi.com/thread/64969?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 13:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f575b97d-bb8f-436c-b2a2-f2707524946d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try with the attached Makefile.common and see if you get the same result. Removed double quotes on some of the variables as suggested by @peter (see last comment in tutorial)&lt;/p&gt;
&lt;p&gt;Attachment:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Makefile.common"&gt;Makefile.common&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/blinky_5F00_pca10028_5F00_eclipse_5F00_neon.zip"&gt;blinky_pca10028 eclipse neon.zip&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>