<?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>Light bulb feature confusing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121677/light-bulb-feature-confusing</link><description>I don&amp;#39;t have found CONFIG_OPENTHREAD_FTD feature in the bulb project prj.conf or prj_release.conf file, but I have found that it is enabled in the final .config file within output folder. So I confused where is it set? 
 BR 
 Chuan</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Jun 2025 11:42:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121677/light-bulb-feature-confusing" /><item><title>RE: Light bulb feature confusing</title><link>https://devzone.nordicsemi.com/thread/538404?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 11:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2f5c2d4-8e08-4226-9e2c-c5970d9e1195</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Chuan,&lt;/p&gt;
[quote user="susepc"]&amp;nbsp; But for switch project, it is&amp;nbsp;MTD role, but I have not found&amp;nbsp;CONFIG_OPENTHREAD_MTD in project conf files yet, can you tell me the reason?[/quote]
&lt;p&gt;&lt;span&gt;If&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;CONFIG_OPENTHREAD_MTD&lt;/code&gt;&lt;span&gt;&amp;nbsp;is not explicitly set in your project configuration files, it may be enabled by default elsewhere in the build system, especially if the sample or board is designed to operate as an MTD.&amp;nbsp;The final&amp;nbsp;&lt;code dir="ltr"&gt;.config&lt;/code&gt;&amp;nbsp;file in the build output directory shows the resolved configuration after all defaults, dependencies, and overrides are applied.&lt;/span&gt;&lt;/p&gt;
[quote user="susepc"]Besides, I have not found&amp;nbsp;CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER&amp;nbsp;or&amp;nbsp;CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD&amp;nbsp;in project conf files yet, where to set them?[/quote]
&lt;p&gt;Those are just examples of configurations that will automatically enable&amp;nbsp;&lt;span&gt;CONFIG_OPENTHREAD_FTD, if used. If you need to set theses configurations, you just need to add them to your prj.conf file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Swathy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Light bulb feature confusing</title><link>https://devzone.nordicsemi.com/thread/538350?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 07:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2baeaec-a365-493e-8a28-113cecc2a244</guid><dc:creator>susepc</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/swra"&gt;SwRa&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Hello, do you have anything update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Light bulb feature confusing</title><link>https://devzone.nordicsemi.com/thread/536747?ContentTypeID=1</link><pubDate>Fri, 23 May 2025 09:41:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a04d9aa-6ba2-4035-b9c0-e6651b071603</guid><dc:creator>susepc</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/swra"&gt;SwRa&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; As you said,&amp;nbsp;CONFIG_OPENTHREAD_FTD&amp;nbsp;is the default device type, so in&amp;nbsp;prj.conf or prj_release.conf within bulb project I have not found it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; But for switch project, it is&amp;nbsp;MTD role, but I have not found&amp;nbsp;CONFIG_OPENTHREAD_MTD in project conf files yet, can you tell me the reason?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Besides, I have not found&amp;nbsp;CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER&amp;nbsp;or&amp;nbsp;CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD&amp;nbsp;in project conf files yet, where to set them?&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Chuan&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;code dir="ltr"&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Light bulb feature confusing</title><link>https://devzone.nordicsemi.com/thread/536621?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 12:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b6631bd-fcf6-464a-b2ff-ac9e68fc7522</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Chuan,&lt;/p&gt;
&lt;div&gt;Even if you do not see&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;CONFIG_OPENTHREAD_FTD&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in your&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;prj.conf&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;or&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;prj_release.conf&lt;/code&gt;, it can be set by default, by dependencies, or by feature sets you have enabled elsewhere in your configuration. &lt;span&gt;For OpenThread,&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;CONFIG_OPENTHREAD_FTD&lt;/code&gt;&lt;span&gt;&amp;nbsp;is the default device type if not otherwise specified.&amp;nbsp;&lt;/span&gt;To override it, explicitly set&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;CONFIG_OPENTHREAD_MTD=y&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;(for Minimal Thread Device) or&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;CONFIG_OPENTHREAD_FTD=n&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in your configuration files. Or it can also be that you have enabled configurations such as&amp;nbsp;&lt;span&gt;CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER or&amp;nbsp;CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD which will automatically enable&amp;nbsp;CONFIG_OPENTHREAD_FTD.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Swathy&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>