<?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 to build nrf52840 dongles with customized open-thread library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125483/how-to-build-nrf52840-dongles-with-customized-open-thread-library</link><description>Hi, could anyone show me how I can build nrf52840 dongles with customzied open thread library? 
 Right now, the nrfconnect examples in matter repo is using prebuilt open-thread library.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Nov 2025 23:06:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125483/how-to-build-nrf52840-dongles-with-customized-open-thread-library" /><item><title>RE: How to build nrf52840 dongles with customized open-thread library</title><link>https://devzone.nordicsemi.com/thread/553727?ContentTypeID=1</link><pubDate>Fri, 07 Nov 2025 23:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:339e3d6f-0bfc-459e-b887-b02a15a3162a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In order to make the Matter samples (or any samples) use the source files for OpenThread instead of the pre-built library, you can add&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_OPENTHREAD_SOURCES=y&lt;/p&gt;
&lt;p&gt;in your prj.conf. This should make it use the source files for OpenThread.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Alternatively, if you want to select a different version of the pre-built libraries, you can set one of these:&lt;/p&gt;
&lt;p&gt;CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y&lt;br /&gt;CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD=y&lt;br /&gt;&lt;span&gt;CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD=y&lt;br /&gt;CONFIG_OPENTHREAD_NORDIC_LIBRARY_RCP=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(You can only choose one of these at the time)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can read more about them here:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/thread/configuring.html#select_openthread_libraries"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/thread/configuring.html#select_openthread_libraries&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to build nrf52840 dongles with customized open-thread library</title><link>https://devzone.nordicsemi.com/thread/553617?ContentTypeID=1</link><pubDate>Thu, 06 Nov 2025 23:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6f442ca-3515-498b-98ee-ef25df85088c</guid><dc:creator>Jack Chen</dc:creator><description>&lt;p&gt;Or, are there instructions to build the open-thread lib and replace the default prebuilt ones?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>