<?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>unresolved inclusions in Eclipse</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19456/unresolved-inclusions-in-eclipse</link><description>I&amp;#39;m using nRF52 + SDK11.0.0 + s132. I&amp;#39;m following this tutorial. I am able to build from the command line and from Eclipse just successfully. However, Eclipse is unable to properly decode the include paths. It is properly decoding the defines. The following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Feb 2017 08:15:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19456/unresolved-inclusions-in-eclipse" /><item><title>RE: unresolved inclusions in Eclipse</title><link>https://devzone.nordicsemi.com/thread/75589?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 08:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19506222-351d-4363-a92b-54418045dc73</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Eclipse managed projects provide closer integration since it will maintain its makefiles automatically.  Also, with make managed you will sometimes have to refresh the index manually to fix unresolved symbols ( or restart eclipse). I think the main advantage with make managed projects is that you can re-use existing makefiles which are maintained by the SDK team, but I don&amp;#39;t see any major drawbacks with either of them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unresolved inclusions in Eclipse</title><link>https://devzone.nordicsemi.com/thread/75586?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 15:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:877cd9cc-76be-4ed9-ae7f-cda9acce05c5</guid><dc:creator>Tosa</dc:creator><description>&lt;p&gt;Thanks for the clarifications. I got the incremental build Standard Make and also separately a Managed Make Eclipse project working. The Managed Make project doesn&amp;#39;t seem to be too much more work than the Standard Make project (assuming the flags and linker scripts are all provided). And it seems more tightly integrated with the code (so the unresolved inclusions issues doesn&amp;#39;t seem to appear at all; it still seems to appear with the Standard Make project and I need to restart Eclipse to make it work). Do you seen any downfall to the Managed Make projects?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unresolved inclusions in Eclipse</title><link>https://devzone.nordicsemi.com/thread/75588?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 09:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5849f363-4f3b-4425-a774-0ff16135dce1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;project makefiles in SDK 11 were standalone. I.e., not invoking makefile.common as opposed to project makefiles in SDK 12. I think the easiest approach is to import the makefile.common from SDK 12.2.0, and one of the project makefiles that resembles your existing makefile the most(makefile located in project directory). Then modify the project makefile according to your existing makefile (update list of source files, include paths, and flags (CFLAGS, LDFLAGS, ASMFLAGS)).&lt;/p&gt;
&lt;p&gt;We changed to C99 to use the same standard on all the toolchains we support. __ASM/__asm() are more portable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unresolved inclusions in Eclipse</title><link>https://devzone.nordicsemi.com/thread/75587?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 19:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7dfe29f-7db6-4814-978f-ae025883ae63</guid><dc:creator>Tosa</dc:creator><description>&lt;p&gt;In SDK11.0.0, it seems that Makefile.common is not used but Makefile (in the project dir) and Makefile.Windows (or .Posix) are used, correct? In SDK12.x.x, the project Makefile (project dir), Makefile.Windows and Makefile.common are all used correct? Also, the Makefile.common in SDK12.2.0 is much different from the SDK12.1.0 version. Should I back port the SDK12.2.0 version?&lt;/p&gt;
&lt;p&gt;Also, the compiler standard is switched to c99 vs gnu99 so the asm() calls don&amp;#39;t work unless replaced by __asm() (or I modify Makefile.common to use gnu99 rather than c99). Any reason for the switch?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unresolved inclusions in Eclipse</title><link>https://devzone.nordicsemi.com/thread/75585?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 11:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc94d7fd-1fa9-4059-9703-52650acf93d1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;The following screen shot of the
main.c parsing shows that the header
path starts with /g rather that g:/. I
am wondering if this is the issue?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I think this is the problem, but not sure exactly why it happens. I&amp;#39;d suggest to make sure you are only invoking the build tools from the &lt;em&gt;GNU ARM Eclipse Windows Build Tools package&lt;/em&gt;. I.e., check  that aren&amp;#39;t any other installations of make.exe, sh.exe, etc on your system, and if it is, try to remove any paths for those in your PATH variable.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Separately, is there an example
makefile for SDK11.0.0+s132 that does
incremental builds?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You can back port the makefiles from SDK 12 if you want to support incremental builds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>