<?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>How can I know which header/c file to include into a project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17364/how-can-i-know-which-header-c-file-to-include-into-a-project</link><description>Hi there, 
 I am new to the nRF world and I might be asking a very stupid question with obvious answer but I couldn&amp;#39;t find any hint from the Infocenter nor the Tutorials, therefore, I really appreciate if you could shed some light here. 
 I am using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 29 Oct 2016 14:22:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17364/how-can-i-know-which-header-c-file-to-include-into-a-project" /><item><title>RE: How can I know which header/c file to include into a project</title><link>https://devzone.nordicsemi.com/thread/66760?ContentTypeID=1</link><pubDate>Sat, 29 Oct 2016 14:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d030efaf-b40a-48d1-bef4-6d153044668a</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;Probably there is no document since it would be large and have many versions.  The SDK seems to change its structure often.  The SDK seems to have some spurious includes, not really needed.  The build system could be improved (CMake?).  C/C++ is mind-numbingly stupid (Rust?).  But so far, I prefer the Nordic total package over the many alternatives.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I know which header/c file to include into a project</title><link>https://devzone.nordicsemi.com/thread/66759?ContentTypeID=1</link><pubDate>Sat, 29 Oct 2016 04:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55305395-fb2c-4f96-b6a4-05da6b0913d1</guid><dc:creator>Ed Wios</dc:creator><description>&lt;p&gt;Yes, this is what I am doing, too. It is a bit unbelievable and sad that the documents provided lacked such important information. There are 200+ views and no answer so far makes me believe this is indeed the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I know which header/c file to include into a project</title><link>https://devzone.nordicsemi.com/thread/66758?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 20:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b55e69ec-3f09-44a8-841b-a4bbd62d8dbe</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;The way I do it is to iterate: compile.  When you get an undefined symbol, &amp;gt;cd to the SDK directory and &amp;gt;grep -R  .  That gives you a list files the symbol is in.  Manually hunt for the .h file that defines the symbol (many files may reference the symbol.)  Modify your makefile: add INC_PATHS += the directory above said file.  Iterate.  I know it is nasty.  But I don&amp;#39;t think there is any document that gives the graph of dependencies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>