<?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>Dependency error when attempting to compile alexa_gadget example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71903/dependency-error-when-attempting-to-compile-alexa_gadget-example</link><description>After having development success with the nRF52840 I&amp;#39;m beginning to look at development on the newer nRF5340. I&amp;#39;ve successfully gotten the blinky example working on the development kit, but am running into issues with the alexa_gadget example, which I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Mar 2021 15:53:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71903/dependency-error-when-attempting-to-compile-alexa_gadget-example" /><item><title>RE: Dependency error when attempting to compile alexa_gadget example</title><link>https://devzone.nordicsemi.com/thread/296949?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2021 15:53:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a42be32d-cccc-42f0-a152-9fa633256b1d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Nathan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the summary of this case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The engineer confirmed the alexa gadget sample works on nRF5340-DK, but only if you use target nrf5340dk_nrf5340_cpuapp.&amp;nbsp;Please be aware that&amp;nbsp;&lt;span&gt;SES is unable to automatically program the network sample&amp;nbsp;&lt;/span&gt;&lt;a title="(in Zephyr Project v2.4.99)" href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_rpmsg/README.html#bluetooth-hci-rpmsg-sample"&gt;&lt;span&gt;Bluetooth: HCI RPMsg&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;to the network core when it is added as a child image. To program the network sample to the network core, see&amp;nbsp;&lt;/span&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#programming-the-network-sample-from-ses"&gt;Programming the network sample from SES&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dependency error when attempting to compile alexa_gadget example</title><link>https://devzone.nordicsemi.com/thread/296394?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 22:13:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e69c8e5-a3fc-4eb6-92cb-eb65338012a1</guid><dc:creator>NathanML</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Perfect, that did the trick! I really appreciate all your help. Everything works like a charm now.&lt;/p&gt;
&lt;p&gt;In summary for all those who see this post and have similar compilation and runtime issues:&lt;/p&gt;
&lt;p&gt;- Enable windows &amp;quot;long path aware&amp;quot;&lt;/p&gt;
&lt;p&gt;- Make sure your code base is close to root, and shorten the build folder name&lt;/p&gt;
&lt;p&gt;- Increase CONFIG_MAIN_STACK_SIZE in prj.conf to 2048 from 1024&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dependency error when attempting to compile alexa_gadget example</title><link>https://devzone.nordicsemi.com/thread/296257?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 12:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7468bd7-5d90-4b92-a40a-55e19d792cd8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Nathan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It appears the main stack overruns on the nRF52840-DK target.&amp;nbsp;Try increasing the main stack size in prj.conf. For example:&lt;/p&gt;
&lt;p&gt;CONFIG_MAIN_STACK_SIZE=2048&lt;/p&gt;
&lt;p&gt;You also need to reopen the Segger to source the new configs.&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dependency error when attempting to compile alexa_gadget example</title><link>https://devzone.nordicsemi.com/thread/296076?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 15:31:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2692fa4c-3e85-4ef5-ae4e-f75115af719e</guid><dc:creator>NathanML</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Good news and bad news. Enabling long path aware, along with shortening the build directory name, has allowed me to successfully compile the project, so thank you!&lt;/p&gt;
&lt;p&gt;The bad news is that when I go to program the nRF52840 dev kit, it near immediately experiences a fault. When I hit the play/continue execution button it seems to work for a second or two, then goes back to the fault condition. Here is a screenshot:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1614180496454v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;To confirm, this is the default alexa_gadget app and has not been modified at all. I made sure to erase the memory (Erase all via the programmer) for the dev kit just in case there was as softdevice previously loaded, but even after doing that the fault still occurs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dependency error when attempting to compile alexa_gadget example</title><link>https://devzone.nordicsemi.com/thread/295978?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 10:15:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0993ae8a-e605-4a08-bd63-944a570e34f7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Nathan,&lt;/p&gt;
&lt;p&gt;1) Please check with your Regional Sales Manager for the support plan.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;I think the problem is caused by the windows path length limit. I see the same error on windows. Can you try to enable windows &amp;quot;long path aware&amp;quot;, reboot and try again?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1134.MicrosoftTeams_2D00_image-_2800_2_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;To get the SES build working on windows I had to shorten the name of the build directory (from &amp;quot;build_nrf52840dk_nrf52840&amp;quot; to &amp;quot;build&amp;quot;) to get within the 260 char windows path length limit.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6708.265129_5F00_2.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dependency error when attempting to compile alexa_gadget example</title><link>https://devzone.nordicsemi.com/thread/295874?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 14:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caa300dc-53a3-4bb3-9b14-6bb47021a494</guid><dc:creator>NathanML</dc:creator><description>&lt;p&gt;Hi Amanda, thanks for the response!&lt;/p&gt;
&lt;p&gt;1. Do you know when/if support will be added for the NRF5340DK?&lt;/p&gt;
&lt;p&gt;2. In that case, I&amp;#39;m still getting the exact same error during compilation when I build the project for my nRF52840DK (selecting board nrf52840dk_nrf52840). I&amp;#39;d love to still be able to get the example working and begin development on our current nRF52840 architecture.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dependency error when attempting to compile alexa_gadget example</title><link>https://devzone.nordicsemi.com/thread/295776?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 10:05:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55d91944-2f99-404c-91d7-c444e5c8ff93</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Nathan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately, the &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/alexa_gadget/README.html"&gt;alexa_gadgets&lt;/a&gt;&amp;nbsp;sample doesn&amp;#39;t support nRF5340DK. See the&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/alexa_gadget/README.html#requirements"&gt;requirements&lt;/a&gt;&amp;nbsp;of the sample.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>