<?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>prj.conf configuration not propagating to autoconf.h and .conf</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59404/prj-conf-configuration-not-propagating-to-autoconf-h-and-conf</link><description>I would like to use functions from the date_time and dk_buttons_and_leds libraries in an nRF91 application. I included the following lines in the application&amp;#39;s prj.conf file: 
 After clicking &amp;quot;Open nRF Connect SDK Project&amp;quot; in Segger Embedded Studio only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Mar 2020 10:23:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59404/prj-conf-configuration-not-propagating-to-autoconf-h-and-conf" /><item><title>RE: prj.conf configuration not propagating to autoconf.h and .conf</title><link>https://devzone.nordicsemi.com/thread/241316?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 10:23:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:709f546b-6de4-40d8-9ea2-7e7927f10e8f</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Looks like the library is only available on the master branch. That explains why I could not find it.&lt;/p&gt;
&lt;p&gt;Anyway, good to hear that you got it working!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: prj.conf configuration not propagating to autoconf.h and .conf</title><link>https://devzone.nordicsemi.com/thread/241263?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 06:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:875499be-35c8-42d8-ae8c-d313fbf740f9</guid><dc:creator>lars_</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I wanted to include the library found at ncs/nrf/lib/date_time. As for where it is defined I am not sure, I simply found it in the CMake file in the lib folder.&lt;br /&gt;&lt;br /&gt;I could not see any warnings when configuring, but it appears as if I overlooked a dependency of the BSD_LIBRARY. (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/reference/kconfig/CONFIG_DATE_TIME.html?highlight=config_date_time#cmdoption-arg-config-date-time"&gt;CONFIG_DATE_TIME).&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It appears as if CONFIG_NETWORKING and CONFIG_HEAP_MEM_POOL_SIZE are also needed. I was able to build successfully with the following configurations in the prj.conf file. &lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_DATE_TIME=y
CONFIG_BSD_LIBRARY=y
CONFIG_NETWORKING=y
CONFIG_HEAP_MEM_POOL_SIZE=1024
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: prj.conf configuration not propagating to autoconf.h and .conf</title><link>https://devzone.nordicsemi.com/thread/241179?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 14:37:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bf2390c-4b8d-49d5-b59c-071f5758d2f9</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;In general, I would say that you have done everything correctly.&lt;/p&gt;
&lt;p&gt;Some libraries might have dependencies that you have to enable (or disable) in order for them to be included though.&lt;/p&gt;
&lt;p&gt;However, I can not find any configuration option called &amp;quot;DATE_TIME&amp;quot;. Where is it defined (or what library is included if it is defined)?&lt;/p&gt;
&lt;p&gt;So I can not tell if that is the issue here.&lt;/p&gt;
&lt;p&gt;Also, when you opened the project, you should get an error/warning if any dependency was not satisfied or you tried to set an option that is not supported.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>