<?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>Open Thingy 91 Projects in Segger Embedded Studio Error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53438/open-thingy-91-projects-in-segger-embedded-studio-error</link><description>Hi, 
 i want to flash programs with the Segger Embedded Studio to my Thingy 91. I already am able to flash hex files with the nRF Programmer to the thingy 91. I installed the repository in the Master branch. I am able to open any project with the nrf9160</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2019 17:37:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53438/open-thingy-91-projects-in-segger-embedded-studio-error" /><item><title>RE: Open Thingy 91 Projects in Segger Embedded Studio Error</title><link>https://devzone.nordicsemi.com/thread/216011?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 17:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3414950-70d6-4e51-88d4-8c2f4ebd2f96</guid><dc:creator>Bergmann</dc:creator><description>&lt;p&gt;Ah ok, I already wondered what that ns meant. Now I know. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Open Thingy 91 Projects in Segger Embedded Studio Error</title><link>https://devzone.nordicsemi.com/thread/215978?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 14:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e451d7f5-c2be-4999-a87b-f13382f893a5</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;To build as non-secure, press the arrow in the &amp;quot;Board name&amp;quot; field, and select the one that ends on &amp;quot;ns&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Open Thingy 91 Projects in Segger Embedded Studio Error</title><link>https://devzone.nordicsemi.com/thread/215883?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 11:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88a2a25e-95fb-4604-80d2-d28ff86bf1c3</guid><dc:creator>Bergmann</dc:creator><description>&lt;p&gt;Ah, thanks for that information! You are the best!&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f60a.svg" title="Blush"&gt;&amp;#x1f60a;&lt;/span&gt;&lt;br /&gt;If I want to build it in non-secure, do I have to do anything specific or is it build in non-secure for default?&lt;/p&gt;
&lt;p&gt;Thanks for your answers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Open Thingy 91 Projects in Segger Embedded Studio Error</title><link>https://devzone.nordicsemi.com/thread/215864?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 09:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e28358e3-928e-4c2f-8d72-e75c6666459f</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi. Great to hear that you managed to find a solution yourself!&lt;/p&gt;
&lt;p&gt;Just two small points:&lt;/p&gt;
&lt;p&gt;1. The reason SES was not able to find the board was because you (or Zephyr in this case) did not include ncs/nrf/cmake/boilerplate.cmake. You can find a generic way to do so here:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_app_dev.html#ncs-additions"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_app_dev.html#ncs-additions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. When building an application for the nRF9160, you generally want to build it as non-secure. This is required in order to be able to communicate with the modem.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Open Thingy 91 Projects in Segger Embedded Studio Error</title><link>https://devzone.nordicsemi.com/thread/215787?ContentTypeID=1</link><pubDate>Sun, 20 Oct 2019 06:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67e1ec65-4128-4db6-aff0-e7c6ead213f7</guid><dc:creator>Bergmann</dc:creator><description>&lt;p&gt;I found the solution myself:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the error message it said:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;CMake Error at ../../../boards/CMakeLists.txt:13 (add_subdirectory):&lt;/em&gt;&lt;br /&gt;&lt;em&gt;add_subdirectory not given a binary directory but the given source&lt;/em&gt;&lt;br /&gt;&lt;em&gt;directory &amp;quot;C:/Maturaprojekt_Master/ncs/nrf/boards/arm/nrf9160_pca20035&amp;quot; is&lt;/em&gt;&lt;br /&gt;&lt;em&gt;not a subdirectory of &amp;quot;C:/Maturaprojekt_Master/ncs/zephyr/boards&amp;quot;.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It said something with a wrong subdirectory, so i copied the nrf9160_pca20035 folder from&lt;/p&gt;
&lt;p&gt;ncs\nrf\boards\arm&lt;/p&gt;
&lt;p&gt;to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ncs\zephyr\boards\arm&lt;/p&gt;
&lt;p&gt;Then it worked and I can now open and flash the Thingy91 program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>