<?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>nordic project in eclipse</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19082/nordic-project-in-eclipse</link><description>Makefile.windows Capture.PNG hello i am trying to make nordic project in eclipse.
for that iam following this tutorial.
 https://devzone.nordicsemi.com/tutorials/7/ 
 i am following this section.
 Create a new Eclipse project 
 after i build my project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jan 2017 13:36:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19082/nordic-project-in-eclipse" /><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73829?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 13:36:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54007ce3-92a5-49c2-9377-2923ba47f833</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you are using SDK 12.x you have to change Makefile.common with the one linked in the Tutorial. The tutorial is written for SDK 11. Also, can you try the solution described in the comment on the GCC/Eclipse tutorial on Dec. 5, 2016, 9:14 p.m. by @bradyhurlburt?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73828?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 12:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2d678d3-454e-4180-a15b-db27aecbd061</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;should i use another sdk??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73827?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 12:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68f28908-4bb1-477a-bc4c-fbc6fe02235a</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;i can&amp;#39;t understand what is this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73826?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 12:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d19af95-08a2-45b3-80e1-67492970e64f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You say you select &lt;code&gt;C:\nRF5_SDK_12.1.0_0d23e2a\examples\peripheral\blinky\pca10028\blank\armgcc&lt;/code&gt;, did you do this that is described in the tutorial?:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Note regarding SDK 12 9/30-16 - Makefile structure was changed in SDK 12.0.0; there are now two separate Makefiles for each example; the project makefile that defines the example dependencies/flags, and makefile.common to actually build the specified targets. It should only be necessary to modify the project makefile as before. However, apparently the CDT parser does not like that we added quoted toolchain strings. E.g., &amp;quot;C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q3/bin/arm-none-eabi-gcc&amp;quot;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Included a patched version of Makefile.common, see list of attachments at the end of this tutorial.&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73825?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 12:30:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1452611d-4889-47b2-9350-5fe98e9bbe17</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;i tried both. and getting error in both&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73824?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 12:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9485f00-0db6-4c9d-aada-b17c11639304</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you select Cross GCC or Cross ARM GCC in step 2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73823?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 11:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a05f6f6a-fe8f-40c4-b54f-4dd9769b09c3</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;hi i did these steps
(1)file  -&amp;gt; New -&amp;gt; Makefile project with existing code
(2) i select C:\nRF5_SDK_12.1.0_0d23e2a\examples\peripheral\blinky\pca10028\blank\armgcc path  , select cross gcc
(3)then i write settings in make VERBOSE=1 in settings and described tutorial.
(4)Enter project properties -&amp;gt; C/C++-&amp;gt;Preprocessor Include Paths,etc.-&amp;gt;Providers
Click on CDT GCC Build Output Parser and change the compiler command pattern from (gcc)|([gc]++)|(clang) to (.&lt;em&gt;gcc)|(.&lt;/em&gt;[gc]++) then apply changes.
Click on CDT Built-in Compiler Settings Cross ARM and replace ${COMMAND} with arm-none-eabi-gcc and click Apply.&lt;/p&gt;
&lt;p&gt;then i build&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73822?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 10:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff5f1d06-386e-4ca0-9eac-85a734893371</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you follow the instructions in the tutorial to Enable auto discovery of symbols, include paths and compiler settings? Have you checked that the directories is actually there (relatvie to the Makefile)? By default there should not be a &lt;code&gt;blinky_pca10028&lt;/code&gt; directory inside the config folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73821?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 14:27:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:612acced-732e-417a-8a05-74d4e5e96da2</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;waiting for your response &lt;a href="https://devzone.nordicsemi.com/users/22801/joh2/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73830?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 16:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4171a3c9-98f0-4a58-a395-5a7ed0171162</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;It would probably a lot easier to work with Eclipse project instead of makefile. &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;See this blog&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73820?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:28:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9269a59-c400-40c4-aebc-f0229f3de29f</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;Description	Resource	Path	Location	Type
Cannot find include folder:  ../../../config	Makefile	/blinky	line 173	C/C++ Problem
Cannot find include folder:  ../../../config/blinky_pca10028	Makefile	/blinky	line 173	C/C++ Problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73819?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9c427e7-e805-44e5-95d8-b4fc6f3677f3</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;yes its work in sdk12&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73818?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:17:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad677de6-a3f0-496e-8285-1ce34d659eb9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You did not replace $(PROGFILES) with C:/ in Makefile.windows as I wrote above. Use &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Makefile.windows"&gt;this file&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73817?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f5fea93-f885-4155-8fd5-0350094eaefe</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;yes i have. i have uploaded screenshot and Makefile.windows&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73816?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce17a332-941d-413d-867c-9c8e16613a16</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you sure you changed it to exactly what I wrote? Can you upload a new image showing the new output? I have the exact same setup and it works fine. Can you also upload your Makefile.windows file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73815?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c550663-e02a-42e8-b79c-e21e75c77ba0</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;i changed it. but still i am getting error like i have uploaded screenshot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73814?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2343f9a6-2486-45d2-8f9b-d68f4158c405</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;uploaded screen shot capture.PNG&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73813?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 13:58:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b9dbcdc-2d5b-4f20-9ff1-b51580f31ebc</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;i got error in comand line too. in previous case, i am not getting error in command line&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73812?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 13:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31bb6189-7b5b-417f-a435-391b4fc9ddd9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You should add a underscore to the second directory as well: &lt;code&gt;5.4_2016q3&lt;/code&gt;. In your Makefile, you should set: &lt;code&gt;GNU_INSTALL_ROOT := C:/GNU_Tools_ARM_Embedded/5.4_2016q3&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73811?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 13:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:748b38d6-83f5-4641-ae59-8d1e95dbb1ad</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;content of Makefile.windows is&lt;/p&gt;
&lt;p&gt;ifeq ($(findstring 86, $(ProgramFiles)), )
PROGFILES := C:/Program Files
else
PROGFILES := C:/Program Files (x86)
endif&lt;/p&gt;
&lt;p&gt;GNU_INSTALL_ROOT := $(PROGFILES)/GNU_Tools_ARM_Embedded/5.4 2016q3
GNU_VERSION := 5.4.1
GNU_PREFIX := arm-none-eabi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73810?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 13:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5a324f5-a1ac-4ffa-b57c-bf6fc45553e2</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;ok after modification my path is  C:\GNU_Tools_ARM_Embedded\5.4 2016q3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73809?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 13:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28af3c8e-521b-4db4-970e-04f4fe5ea2f0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It seems that &lt;em&gt;make&lt;/em&gt; is not particularly fond of spaces in the paths to the tool. I got the same errors, but after copying the directory &lt;code&gt;GNU Tools ARM Embedded\4.9 2015q3&lt;/code&gt; from &lt;code&gt;C:\Program Files (x86)&lt;/code&gt; to &lt;code&gt;C:\&lt;/code&gt;, replacing spaces with underscores, and updating the path in &lt;code&gt;[SDK_ROOT]\components\toolchain\gcc\Makefile.windows&lt;/code&gt;, it compile without errors. Could you try this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73803?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2017 13:38:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd5ebd40-19fa-4ad7-a83d-d97f87f40a4c</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;i got these error after third steps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73802?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2017 13:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c354f58f-1cbd-4821-aa8c-3a5571304b81</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;i followed just three steps.
(1) Start Eclipse, enter file -&amp;gt; new Makefile project with existing code in the menu bar. Name your project and browse the directory of your Makefile. Click finish once you are done.
(2)Open and edit the SDK makefile to support debugging of your code. Locate the CFLAGS variables, and change ‘-O3’ to &amp;#39;-O0&amp;#39; for debugging to produce expected results (stack variables loaded directly to CPU registers,etc). Then add &amp;#39;-g3&amp;#39; to CFLAGS to include debug symbols in the .out file (GNU manual).
(3)Configure the build settings and build the project, see the instructions from the Import existing Eclipse project to workspace section above and verify that there are no build errors before moving on to the next step.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nordic project in eclipse</title><link>https://devzone.nordicsemi.com/thread/73801?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2017 13:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfb49b70-db70-4d83-b399-b57a0c17f003</guid><dc:creator>nordicbeginner</dc:creator><description>&lt;p&gt;i have not added any source files yet&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>