<?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>Is there a better way to add SDK 8.1 include files to Eclipse?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7709/is-there-a-better-way-to-add-sdk-8-1-include-files-to-eclipse</link><description>I am working on getting the ble_app_hrs example from SDK 8.1 within Eclipse. There seems to be no association between the INC_PATHS in the Makefile with include files within Eclipse CDT. Currently, I am going project Properties -&amp;gt; C/C++ General -&amp;gt; Paths</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 20 Jun 2015 13:22:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7709/is-there-a-better-way-to-add-sdk-8-1-include-files-to-eclipse" /><item><title>RE: Is there a better way to add SDK 8.1 include files to Eclipse?</title><link>https://devzone.nordicsemi.com/thread/27471?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2015 13:22:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:851b043c-3372-4094-a29e-36954af1d392</guid><dc:creator>i_am_trying</dc:creator><description>&lt;p&gt;oh..and if you look at step 4, I&amp;#39;m not sure what the make line adds. because as the post points out, the Eclipse IDE (even with the GNU ARM plug-in) does not &amp;quot;see&amp;quot; a makefile.  Meaning these need to be manually kept in sync... i guess i could import/export include paths (since this seems to be xml...)but i would think this would happen automatically since getting all the include locations for the nrf51 sdk is a bit time consuming..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a better way to add SDK 8.1 include files to Eclipse?</title><link>https://devzone.nordicsemi.com/thread/27470?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2015 13:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e58c1438-00c3-4bb5-8954-bac3e6070275</guid><dc:creator>i_am_trying</dc:creator><description>&lt;p&gt;i&amp;#39;m bumbling through this post: &lt;a href="http://blog.blecentral.com/2015/06/05/eclipse_ble_nano/"&gt;blog.blecentral.com/.../&lt;/a&gt;
which edits the make file...and using the example ble_app_uart_s110_pca10028  ...note: not working yet.  but perhaps a &amp;quot;good&amp;quot; starting place?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a better way to add SDK 8.1 include files to Eclipse?</title><link>https://devzone.nordicsemi.com/thread/27469?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2015 13:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06bc7cce-2474-4e36-894e-6fee778e7b57</guid><dc:creator>JohnBrown</dc:creator><description>&lt;p&gt;I must be using an old makefile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a better way to add SDK 8.1 include files to Eclipse?</title><link>https://devzone.nordicsemi.com/thread/27468?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2015 11:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cd50628-c27e-4252-bfc5-b42533753636</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Should be at line ~179 after the &amp;quot;# Create objects from C SRC files&amp;quot; comment&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a better way to add SDK 8.1 include files to Eclipse?</title><link>https://devzone.nordicsemi.com/thread/27467?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2015 11:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a20912d-d37f-4c62-acb5-6303f4a742c8</guid><dc:creator>JohnBrown</dc:creator><description>&lt;p&gt;Search for the $(NO_ECHO)$(CC) $(CFLAGS) $(INC_PATHS) -c -o $@ $&amp;lt; line in the makefile.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find that line in my makefile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a better way to add SDK 8.1 include files to Eclipse?</title><link>https://devzone.nordicsemi.com/thread/27466?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2015 08:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a223742-7f11-4c06-bc87-23dad10419e2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;CDT is capable of parsing the include paths and pre-processor definitions from the build output with the right project configurations; First you need to increase the verbosity level of the build output so that &amp;#39;-I&amp;#39; for includes and &amp;#39;-D&amp;#39; for symbols are being printed out. This is done by editing the default makefile:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for the $(NO_ECHO)$(CC) $(CFLAGS) $(INC_PATHS) -c -o $@ $&amp;lt; line in the makefile.&lt;/li&gt;
&lt;li&gt;Add this to the line above: @echo arm-none-eabi-gcc $(CFLAGS) $(INC_PATHS) -c -o $@ $&amp;lt; and remember to use the same indent.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then you can enable the CDT output parser by following the steps described in the &lt;em&gt;&amp;quot;Enable auto discovery of symbols, include paths and compiler settings&amp;quot;&lt;/em&gt; section in this Eclipse &lt;a href="https://devzone.nordicsemi.com/tutorials/7/development-with-gcc-and-eclipse/"&gt;tutorial&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a better way to add SDK 8.1 include files to Eclipse?</title><link>https://devzone.nordicsemi.com/thread/27465?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2015 03:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d302d051-d73c-41f5-9bf7-911c63946f5e</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Path for makefile project is in the makefile itself.  Path in Eclipse is for Eclipse project.  They cannot be mixed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>