<?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>Building BLE Mesh using Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87395/building-ble-mesh-using-zephyr</link><description>Hi 
 I have been able to work with the &amp;#39;Lighting&amp;#39; demo BLE mesh application using the nRF Connect SDK with Visual Studio Code. I have even been able to add my custom board to the project and successfully been able to work with it. 
 
 I am now trying</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 May 2024 08:12:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87395/building-ble-mesh-using-zephyr" /><item><title>RE: Building BLE Mesh using Zephyr</title><link>https://devzone.nordicsemi.com/thread/485555?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 08:12:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c06ed654-a12d-412e-b3b1-b9b2fd87b20b</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like this case has fallen in between two chairs, which unfortunately happens sometimes.&amp;nbsp;Joakim does however not work here any more, so I will be handling the case from now. If long wait time occurs in the future, I would recommend that you give a reply to the case sooner to notify the case handler. If the latest reply is from the case handler, then the flag will be set to waiting (i.e the action is on the case creator), while if you if the latest reply is from the case creator it will be set to open and if no action has been made it will be placed back into the queue.&lt;/p&gt;
&lt;p&gt;So as to your issue. I&amp;#39;m not sure where you&amp;#39;re having trouble. You can always create a new application from scratch, and include what parts you want to include. There are two ways to do this, but to use NCS you will have to set up the CMake either manually or&amp;nbsp;by copying the contents of an existing sample.&lt;/p&gt;
&lt;p&gt;Since your last reply there has also been published quite a few getting started courses on our &lt;a href="https://academy.nordicsemi.com/"&gt;academy pages&lt;/a&gt;, where the&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;NCS fundamentals course&lt;/a&gt;&amp;nbsp;contains steps for setting up an application in&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-1-nrf-connect-sdk-introduction/topic/exercise-2-1/"&gt;exercise 2&lt;/a&gt;. Here you can see how to create a clean, basic application. I strongly recommend that you go through with both the fundamentals and intermediate course on the academy page to familiarize yourself with NCS.&lt;/p&gt;
&lt;p&gt;In general I would recommend that you simply just use either the Hello_world sample as your basic starting point (few things to remove and everything should be set up for you to add your own implemetations to it), or the blank application which has everything set up for you as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you wish to set up a completely clean sample where you create the CMakeLists.txt and other required files yourself, use the &amp;quot;Create a blank application&amp;quot; option, then inspect the files that are generated and placed in your project file and you will see what you will need to populate your CMakeLists with, then simply just repeat the steps manually.&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/pastedimage1716451560833v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;For now the items below aren&amp;#39;t relevant, but a few tips for future cases you create:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Include which version of the SDK you&amp;#39;re working with, as well as which boards&lt;/li&gt;
&lt;li&gt;Include any error logs you&amp;#39;re getting using insert -&amp;gt; code function and mention what you&amp;#39;ve done to get any errors&lt;/li&gt;
&lt;li&gt;If relevant, include any prj.conf and overlays using insert -&amp;gt; code&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Let me know if the first few lessons in the Academy course is enough to get you started!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building BLE Mesh using Zephyr</title><link>https://devzone.nordicsemi.com/thread/485537?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 07:14:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9f043c8-2e80-44d3-8ef0-1056b96f83ea</guid><dc:creator>AF1</dc:creator><description>&lt;p&gt;Its been 2 years. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building BLE Mesh using Zephyr</title><link>https://devzone.nordicsemi.com/thread/367154?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 10:55:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e285ec15-8f13-4edf-bb4a-f71c79e3b72c</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks! &lt;/p&gt;
&lt;p&gt;I&amp;#39;ll check with our developers and see if I can get some tips to get you started on a new project.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;JOakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building BLE Mesh using Zephyr</title><link>https://devzone.nordicsemi.com/thread/366340?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 02:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01a6bb2d-e8de-4158-a276-5dbc9ec6fe4f</guid><dc:creator>AF1</dc:creator><description>&lt;p&gt;Hi Joakim&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t mind using the nRF Connect SDK, I think its great. The only thing I am not able to do with it, is start a new project from scratch.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I always have to start with a sample application, which are great to understand api calls and techniques, but need the option to start a new project (from VSCode) from scratch.&lt;/p&gt;
&lt;p&gt;There seems to be a middle layer (for the BLE mesh) which abstracts calls to Zephyr BLE Mesh structs and api, and I want to use it. However, building a project from scratch, the CMake dependency does not pickup on the apis from the middleware.&lt;/p&gt;
&lt;p&gt;I get the same errors whilst building using NCS or Zephyr. I am sure that when a new build folder is generated in VSCode + NCS, the dependency is added. That is exactly what I want to know/learn.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building BLE Mesh using Zephyr</title><link>https://devzone.nordicsemi.com/thread/365938?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 10:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4de5b711-e4c9-487e-97d8-ebbe52a726a4</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I must admit that I haven&amp;#39;t tried this. I would recommend you using the nRF Connect SDK. Is there any reason that you don&amp;#39;t want to use the nRF Connect SDK?&lt;/p&gt;
&lt;p&gt;However, I can ask internally if anyone has a solution to this.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>