<?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>sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36279/sdk_config-h-inconsistency</link><description>Can a single sdk_config file that has all possible macros definitions to use with an SDK 
 (1) be provided ? 
 (2) so that an identical sdk_config file be inserted in all examples - so it is easy for customers to merge different examples to make their</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Oct 2022 13:37:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36279/sdk_config-h-inconsistency" /><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/390467?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 13:37:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f608504d-3891-480f-bf27-d9fc441c765a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are correct that focus has not been on nRF5 SDK over the past couple of years, since that SDK is now in maintenance mode. Instead we are focusing on the scalable and future-proof nRF Connect SDK. See our &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt; for details.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/390386?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 09:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6818a6c7-aa65-4813-bbc6-738a43073462</guid><dc:creator>__Tom</dc:creator><description>&lt;p&gt;It is 2022.10.12 and I&amp;#39;m using SDK17.1.0. sdk_config.h in folder &amp;quot;nRF5_SDK_17.1.0_ddde560\config\nrf52840\config&amp;quot; is still not generic as it&amp;#39;s designed for. I wonder whether you guys really have been focusing on improving your sdk. Such issue is driving our company away from your ICs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/275300?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 09:36:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c372f6a6-3961-4ffc-8535-c3571b818ff8</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the suggestion, it is always appreciated! That would be one way to do it, yes. I have forwarded the suggestion to the SDK team.&lt;/p&gt;
&lt;p&gt;What we are talking about is the second option for overriding the sdk_config.h configuration file, as documented here: &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fsdk_config.html&amp;amp;anchor=sdk_config_overriding"&gt;Overriding the sdk_config.h configuration&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please note that this could still mean mulitple &amp;quot;standard&amp;quot; sdk_config.h files, as there are some differences with regards to e.g. what peripherals are available and in what quantities for the different SoCs.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/275203?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2020 19:42:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf35517c-69b3-4672-9c20-527d8ec6b932</guid><dc:creator>JonasJ</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/tesc"&gt;tesc&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I count 622 sdk_config.h in the 7.0.2 release. Wouldn&amp;#39;t it make more sense to only have one sdk_config.h in the config/nrfXXXX/config/ directory (why the extra config dir?) and make all the examples use the app_config.h feature.&lt;/p&gt;
&lt;p&gt;This way it&amp;#39;s very obvious what changes the examples has made to the default configuration.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/250456?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 13:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec047f92-41e5-4686-b796-987096d0d475</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There will be future releases of the nRF5 SDK yes. Checking with the SDK team on the status of this issue with regards to next release.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/248436?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 11:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d64ed6e6-3f6b-4ebf-8339-fe475aa95416</guid><dc:creator>chroche</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;about this topic, is there a fix/update planned for the next SDK release?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Btw. Is a new release SDK already scheduled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/231056?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 09:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bf973a1-4d31-4a5e-9b59-41f6439b0ad3</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see that those are defined in many of the sdk_config.h files throughout the examples, so they are definitely among the defines that should have been in all sdk_config.h.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/230946?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 20:11:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f3b9ad7-40d3-4f13-b704-390ca8a77bdb</guid><dc:creator>RVM</dc:creator><description>&lt;p&gt;SDK v15.3.0 does NOT contain NRF_BLE_CONN_PARAMS_ENABLED, NRF_BLE_GATT_ENABLED among others.&lt;/p&gt;
&lt;p&gt;I had to add them to an external file (e.g. app_config.h) in order for the build system to pull in the definitions of functions such as nrf_ble_gatt_init() etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/225220?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 15:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90d1ac0a-6f87-4139-8471-5b3c0a4e4784</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the detailed reporting. I have notified the developers.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/224824?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 23:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e96eec9-6897-46d1-817b-1b67b3d86e2e</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Please fix this sooner rather than later. It&amp;#39;s obviously been an issue for a long time, and is still a mess in version 16.&lt;/p&gt;
&lt;p&gt;The &amp;#39;generic&amp;#39; sdk_config.h is&amp;nbsp;far from comprehensive, and has duplicates (`grep &amp;quot;#define&amp;quot; sdk_config.h | sort | wc -l` vs `grep &amp;quot;#define&amp;quot; sdk_config.h | sort | uniq | wc -l`).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &amp;#39;generic&amp;#39; sdk_config.h for the nRF52840 has 1149 unique defines. The &amp;#39;template&amp;#39; (examples/peripherals/template) sdk_config.h has 968 unique defines. Together, they have a combined 1318 unique defines. Adding in ble_app_template/../sdk_config.h brings the total to 1352 unique defines.&lt;/p&gt;
&lt;p&gt;Across all the config files for the nRF 52840 DK, it appears there are 1735 defined parameters:&lt;/p&gt;
&lt;p&gt;$ find . -path &amp;#39;*/pca10056/*&amp;#39; -name sdk_config.h -exec grep &amp;quot;#define&amp;quot; {} + | cut -d &amp;#39; &amp;#39; -f 2 | sort | uniq | wc -l &lt;br /&gt;&amp;gt; 1735&lt;/p&gt;
&lt;p&gt;Also, FWIW, roughly 1/3 of that is logging:&lt;/p&gt;
&lt;p&gt;$ grep -v -e LOG -e DEBUG_COLOR -e INFO_COLOR nrf52840_sdk_config.h | wc -l&lt;br /&gt;&amp;gt; 1169&lt;br /&gt;$ grep -e LOG -e DEBUG_COLOR -e INFO_COLOR nrf52840_sdk_config.h | wc -l&lt;br /&gt;&amp;gt; 566&lt;/p&gt;
&lt;p&gt;For the nRF52 DK there are 1815 defined parameters in total, but only 1254 in the &amp;#39;generic&amp;#39; sdk_config.h&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now I&amp;nbsp;recognize that the &amp;#39;generic&amp;#39; config might not contain parameters specific to the DK boards intentionally, but then please update the &amp;#39;template&amp;#39; examples appropriately, as they are most definitely targeting the dev kits.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/224810?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 18:49:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9678c626-0e98-4c95-9c3b-ae71538fa000</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The file at &amp;lt;SDK root folder&amp;gt;/config/&amp;lt;device&amp;gt;/config/sdk_config.h should contain all settings.&lt;/p&gt;
&lt;p&gt;Regarding what is (and is not) included in the various examples, as well as the point on ordering, I will tell the developers.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/224798?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 17:24:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6975962c-fbc0-451c-8b48-58e2f10cace1</guid><dc:creator>chroche</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think with &lt;strong&gt;SDK 16 this is still inconsistent&lt;/strong&gt;, which is very irritating and confusing. I am just trying to find a &amp;quot;full&amp;quot; sdk_config.h for a new project, but already the ble_app_template for pca10040 (=&lt;span&gt;nrf52832)&amp;nbsp;&lt;/span&gt;has a different one compared to top level config for&amp;nbsp;&lt;span&gt;nrf52832. See&amp;nbsp;&lt;/span&gt;nRF5_SDK_16.0.0_98a08e2\examples\ble_peripheral\ble_app_template\pca10040\s132\config\sdk_config.h vs.&amp;nbsp;nRF5_SDK_16.0.0_98a08e2\config\nrf52832\config\sdk_config.h. The first contains additionally e.g.&amp;nbsp;NRF_BLE_CONN_PARAMS_ENABLED, NRF_BLE_GATT_ENABLED and NRFX_*, nRF_Segger_RTT blocks, the latter has a lot of ANT blocks and misses some NFC settings.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;When will this be cleaned up&lt;/strong&gt;, so that all examples and &amp;quot;top level&amp;quot; sdk_config.h are content-wise really &amp;quot;full&amp;quot; i.e. complete regards all possibilities (with default=off) and diff-able (same content, keep same order)? This would make comparing and merging examples much much more easier ...&lt;/p&gt;
&lt;p&gt;Can you name me the actual &amp;quot;full&amp;quot; sdk_config.h for nrf52832 and S132 (if this makes a difference) I should use for a new project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/180147?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 06:30:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab64b6eb-960a-4c3b-b83d-8da915ddcd33</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the pointer to the new thread. We are aware of the situation, and hopefully we can sort it out sooner rather than later. Our intention is that at least the generic sdk_config.h contains the full set of defines, and that should preferably be the case also for the ones used in the examples.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/179910?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 08:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88e7efe9-fa60-423d-a0e3-c26dfb43e352</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;em&gt;(I know this is old, but it just came up as a &amp;#39;Related&amp;#39; topic)&lt;/em&gt;&lt;/p&gt;
[quote userid="8164" url="~/f/nordic-q-a/36279/sdk_config-h-inconsistency/139730"]Our goal is that all the examples have all the options in their sdk_config.h.[/quote]
&lt;p&gt;They most certainly do not:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45366/missing-defines-in-generic-sdk_config-h"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45366/missing-defines-in-generic-sdk_config-h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sdk_config.h inconsistency</title><link>https://devzone.nordicsemi.com/thread/139730?ContentTypeID=1</link><pubDate>Wed, 11 Jul 2018 13:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2ad1f44-f404-41c8-ade6-36541a5a919a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;(1) There are sdk_config.h template files in SDK 15, found at &amp;lt;sdk folder&amp;gt;/config/&amp;lt;nrf variant&amp;gt;/config/sdk_config.h.&lt;/p&gt;
&lt;p&gt;(2) Our goal is that all the examples have all the options in their sdk_config.h. If not then it is a bug. Note however that what those settings are set to will differ, depending on the needs of the particular example. If you merge functionality from separate examples, or add a module to the project, you must change the settings accordingly.&lt;/p&gt;
&lt;p&gt;I will register the suggestion of putting log configuration in a separate file, although one might argue that it would defeat the purpose of having one configuration file for the project. Note that you can do this separation manually if you set the USE_APP_CONFIG flag and put log related settings in app_config.h. (All of the settings in sdk_config.h can be overridden, either by adding the setting as a project flag/define, or by the method of setting USE_APP_CONFIG and using an app_config.h file.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>