<?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>Thread Co processor sample Build error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97865/thread-co-processor-sample-build-error</link><description>Based on Thread Coprocessor sample for nrf52840dongle_nrf52840 
 I created a new application with &amp;quot; samples/openthread/coprocessor&amp;quot; as template using SDK 2.3.0 
 I&amp;#39;m getting what looks like dependency conflict, that i cant see how to resolve 
 i previously</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Mar 2023 14:28:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97865/thread-co-processor-sample-build-error" /><item><title>RE: Thread Co processor sample Build error</title><link>https://devzone.nordicsemi.com/thread/417138?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 14:28:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d180c0-cf6f-4d8b-9839-6cc4a98d141b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I will report it to our documentation team. Thank you for reporting!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread Co processor sample Build error</title><link>https://devzone.nordicsemi.com/thread/416885?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 16:08:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb57ef96-ce8b-4139-a509-09c957a90dfd</guid><dc:creator>ctyerman</dc:creator><description>&lt;p&gt;OK, that appears to have fixed the problem, &lt;br /&gt;&lt;br /&gt;though its not obvious to me why that would would be the fix to that warning.&lt;br /&gt;&lt;br /&gt;i think it might be worth adding a note to that &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/coprocessor/README.html"&gt;sample &lt;/a&gt;that the usb.overlay is required for the dongle&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread Co processor sample Build error</title><link>https://devzone.nordicsemi.com/thread/416741?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 09:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e72831-4d21-482f-bf63-46ba395c2a15</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Oh, ok. I see.&lt;/p&gt;
&lt;p&gt;Looking at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/coprocessor/README.html#thread-co-processor"&gt;sample description&lt;/a&gt;, it says under the &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/coprocessor/README.html#configuration-files"&gt;Configuration files&lt;/a&gt;&amp;quot; section what you need to do if you want to enable serial port over USB, which is something that we need to do if we are using the dongle, because unlike the DK, the UART is not carried through the USB port (because it is using the nRF&amp;#39;s USB instead of the programmer&amp;#39;s USB).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So when you create your build configuration, you should set the overlay-usb.conf as a Kconfig fragment (remember to click OK after selecting it, so that it is actually included). You also need to set the DTC_OVERLAY_FILE to usb.overlay. The way you do this is by adding this as an extra CMake argument:&lt;/p&gt;
&lt;p&gt;-DDTC_OVERLAY_FILE=usb.overlay&lt;/p&gt;
&lt;p&gt;(again, click OK to save that CMake argument).&lt;/p&gt;
&lt;p&gt;It should look like this before you hit &amp;quot;Build Configuration&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1679478961871v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Try that, and let me know if it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread Co processor sample Build error</title><link>https://devzone.nordicsemi.com/thread/416361?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 17:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:532d5d4e-7d43-4c41-af60-32981ee6b7f3</guid><dc:creator>ctyerman</dc:creator><description>&lt;p&gt;should be default build configuration generated by Code Studio&lt;br /&gt;&lt;br /&gt;I opened Code studio then nrf Connect&lt;br /&gt;clicked &amp;quot;create a new application&amp;quot;&lt;br /&gt;selected &amp;quot;&lt;code&gt;&lt;span&gt;samples/openthread/coprocessor&lt;/span&gt;&lt;/code&gt;&amp;quot; template&lt;br /&gt;set name&lt;br /&gt;then create application&lt;br /&gt;&lt;br /&gt;clicked &amp;quot;no build configuration&amp;quot;&lt;br /&gt;set board to &amp;quot;&lt;code&gt;&lt;span&gt;nrf52840dongle_nrf52840&lt;/span&gt;&lt;/code&gt;&amp;quot; and click build configuration&lt;br /&gt;&lt;br /&gt;which gives 5 problems&lt;br /&gt;&lt;br /&gt;can fix&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG_PROCESS_THREAD_STACK_SIZE couldn&amp;#39;t be set. Missing dependencies:
LOG_PROCESS_THREAD &amp;amp;&amp;amp; LOG_MODE_DEFERRED &amp;amp;&amp;amp; LOG&lt;/pre&gt;&lt;br /&gt;automatically by clicking &amp;quot;enable three entries to to resolve dependencies&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i can see SHIELD_SPARKFUN_SARA_R4 but haven&amp;#39;t set it anywhere and &lt;br /&gt;isn&amp;#39;t user assignable according to &lt;a href="https://docs.zephyrproject.org/2.7.3/reference/kconfig/CONFIG_SHIELD_SPARKFUN_SARA_R4.html"&gt;kernel docs&lt;/a&gt; and is disabled by default&lt;br /&gt;&lt;br /&gt;so do don&amp;#39;t know how or why its there or how to disable it&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;current proj.conf&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2020 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Set OpenThread NCP architecture
CONFIG_OPENTHREAD_COPROCESSOR=y
CONFIG_OPENTHREAD_COPROCESSOR_RCP=y

# Increase logging thread stack size due to Spinel backend needs


CONFIG_LOG=y
CONFIG_LOG_MODE_DEFERRED=y
CONFIG_LOG_PROCESS_THREAD=y
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=2048

# Enable OpenThread features set
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y

CONFIG_NET_L2_OPENTHREAD=y

# Generic networking options
CONFIG_NETWORKING=y

CONFIG_MBEDTLS_SHA1_C=n
CONFIG_FPU=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;as there is nothing special in it i have also put the generated code on github &lt;a href="https://github.com/ctyerman/nrf52840dongle_coprocessor_test"&gt;https://github.com/ctyerman/nrf52840dongle_coprocessor_test&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;/a&gt;after some further research this might be related to &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/25480"&gt;issue 25480&lt;/a&gt; but still not sure how to fix it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread Co processor sample Build error</title><link>https://devzone.nordicsemi.com/thread/416321?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 14:38:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e825b571-b13b-4f81-a4d6-9c6475bc3e46</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What exactly are you trying to build? Is there any way for me to reproduce the build error you are seeing? What is your build configuration?&lt;/p&gt;
&lt;p&gt;It looks like you have tried to include sparkfun_sara_r4 at some point. It looks like it is a shield, but where and how did you include it?&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>