<?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>Finding module dependencies</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36122/finding-module-dependencies</link><description>I&amp;#39;m digging into OpenThread, using the NRF52840 DK. I find myself spending most of my time trying to figure out module dependencies. Is there any way to quickly get all the configuration options in sdk_config.h, all the source files in Makefile, and anything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Jul 2018 14:09:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36122/finding-module-dependencies" /><item><title>RE: Finding module dependencies</title><link>https://devzone.nordicsemi.com/thread/139435?ContentTypeID=1</link><pubDate>Mon, 09 Jul 2018 14:09:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5e67a3e-3e6d-4f34-844a-16e2870701c0</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Yeah, that&amp;#39;s a bit more tricky, I think there&amp;#39;s possibly a runtime error if multiple&amp;nbsp;backends is not supported in the logger module, but what we want is to catch it with the preprocessor.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Interdependencies, are way harder to catch.&amp;nbsp;I usually use&amp;nbsp;snippets from the sdk_config&amp;#39;s from whatever example uses the relevant module. It&amp;#39;s manual cut n paste :/&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding module dependencies</title><link>https://devzone.nordicsemi.com/thread/139305?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 16:33:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ea6da5e-8a3d-4435-8d6d-6da2b11aa4b6</guid><dc:creator>rconaway</dc:creator><description>&lt;p&gt;That&amp;#39;s a good suggestion.&amp;nbsp; I can write a tool to extract headers from a module, compare it to the ones I&amp;#39;ve already got in my include path and .c files and adjust accordingly.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any suggestions about how to fix sdk_config.h?&amp;nbsp; Configuration settings are more than just &amp;quot;turn this module on&amp;quot;.&amp;nbsp; It looks like there are interdependencies and possibly even conflicts.&amp;nbsp; I.e. when I turn on UART logging, I may have to turn off RTT logging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding module dependencies</title><link>https://devzone.nordicsemi.com/thread/139286?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 14:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83a26fc0-c2e1-4966-8524-f5fa73112f31</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I guess you&amp;#39;ll have to go into the modules and see which header files are included. If an included header file contains a function prototype you&amp;#39;ll know that there&amp;#39;s a corresponding source file, usually with the same name, that have to be included in the build.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding module dependencies</title><link>https://devzone.nordicsemi.com/thread/139273?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 13:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdb1e078-08d3-40af-a6a4-e2ab71fc0ab0</guid><dc:creator>rconaway</dc:creator><description>&lt;p&gt;Thanks for the reply.&amp;nbsp; I&amp;#39;ve used SES and the configuration wizard.&amp;nbsp; Recently, though, I&amp;#39;ve been just using make, since it&amp;#39;s easier to research and compare projects.&lt;/p&gt;
&lt;p&gt;I double checked the wizard.&amp;nbsp; It seems to just display the contents of sdk_config.h in a GUI.&amp;nbsp; Which might be useful if you know what configurations are needed.&amp;nbsp; It doesn&amp;#39;t do anything to add source files to the project.&lt;/p&gt;
&lt;p&gt;My problem is knowing what needs to be added to a project to use a module.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BTW, I&amp;#39;m familiar with the reference sdk_config.h in&amp;nbsp;config/nrf52840/config.&amp;nbsp; Again, the problem is knowing what needs to be turned on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Finding module dependencies</title><link>https://devzone.nordicsemi.com/thread/139215?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 09:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5f0cd0d-c0bd-4b3e-8575-c4568e091da1</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You&amp;#39;re missing Segger Embedded Studios and the CMSIS configuration wizard. SES takes care of your makefiles, the configuration wizard presents the sdk_config file in a GUI with tick boxes and drop-downs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Nordic Semiconductor pays Segger a license fee in order to offer SES to our customers for free, as long as you&amp;#39;re using our products ofc.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;See&amp;nbsp;&lt;a href="http://www.nordicsemi.com/eng/Products/SEGGER-Embedded-Studio-IDE"&gt;http://www.nordicsemi.com/eng/Products/SEGGER-Embedded-Studio-IDE&lt;/a&gt;&amp;nbsp;and the &lt;a href="https://www.youtube.com/watch?list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&amp;amp;v=YZouRE_Ol8g"&gt;SES video tutorial&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>