<?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>Nrf sdk and Segger Embedded Studio which files to add to source control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79970/nrf-sdk-and-segger-embedded-studio-which-files-to-add-to-source-control</link><description>Hi, 
 I am just starting to use nrf connect sdk for 5340; and wading through the confusion or build systems, west, SES, Visual studio; no clear path. 
 As we have used SES and the old nordic sdks in the past; the learning curve here should be less hopefully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Apr 2022 10:31:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79970/nrf-sdk-and-segger-embedded-studio-which-files-to-add-to-source-control" /><item><title>RE: Nrf sdk and Segger Embedded Studio which files to add to source control</title><link>https://devzone.nordicsemi.com/thread/361802?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 10:31:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bac55c9f-9fc8-4dd1-9517-b2be85c1aad1</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;We would strongly recommend using &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-VS-Code"&gt;nRF Connect for VS Code extension&lt;/a&gt; when doing projects in a team. And have a look at our &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/dm_adding_code.html#adding-your-own-code"&gt;Development model - Adding your own code&lt;/a&gt;, and the &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/app_build_system.html#build-and-configuration-system"&gt;Build and Configuration system&lt;/a&gt;&amp;nbsp;chapter.&lt;br /&gt;&lt;br /&gt;When sharing your project with your team, you should not share the build folder. This is built based on your project files e.g.&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/samples/bluetooth/peripheral_hids_keyboard/README.html#bluetooth-peripheral-hids-keyboard"&gt;Bluetooth: Peripheral HIDS keyboard&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;nrf\samples\bluetooth\peripheral_hids_keyboard\child_image
nrf\samples\bluetooth\peripheral_hids_keyboard\child_image\hci_rpmsg.conf
nrf\samples\bluetooth\peripheral_hids_keyboard\src
nrf\samples\bluetooth\peripheral_hids_keyboard\src\app_nfc.c
nrf\samples\bluetooth\peripheral_hids_keyboard\src\app_nfc.h
nrf\samples\bluetooth\peripheral_hids_keyboard\src\main.c
nrf\samples\bluetooth\peripheral_hids_keyboard\CMakeLists.txt
nrf\samples\bluetooth\peripheral_hids_keyboard\Kconfig
nrf\samples\bluetooth\peripheral_hids_keyboard\prj.conf
nrf\samples\bluetooth\peripheral_hids_keyboard\README.rst
nrf\samples\bluetooth\peripheral_hids_keyboard\sample.yaml&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When you build this project for e.g.&amp;nbsp;&lt;span&gt;nRF5340dk_nrf5340_cpuapp, it will pull in relevant configurations for the board and project, and generates the build folder.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf sdk and Segger Embedded Studio which files to add to source control</title><link>https://devzone.nordicsemi.com/thread/361096?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 17:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73dce1eb-130d-47e1-8b08-ffb55f80f5b6</guid><dc:creator>OwainIncus</dc:creator><description>&lt;p&gt;I can do the multi imge builds fine; but which SES files should I check in to source control such that anyone else on doing a checkout will pickup same project as myself.&lt;br /&gt;&lt;br /&gt;Up to now I have just been checking in the zephyr required project and source files; but as the multi-imzge build is a SES thing in this case.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do I need to check any files under the build directory or not; or just rely on colleagues using the wizard (file-&amp;gt;open nrf connect sdk project) to browse to setup the project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf sdk and Segger Embedded Studio which files to add to source control</title><link>https://devzone.nordicsemi.com/thread/331100?ContentTypeID=1</link><pubDate>Fri, 24 Sep 2021 13:10:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad1ab086-899d-49c8-baf9-dad8cdcbaa22</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Owain,&amp;nbsp;&lt;/p&gt;
[quote user=""]I am just starting to use nrf connect sdk for 5340; and wading through the confusion or build systems, west, SES, Visual studio; no clear path.[/quote]
&lt;p&gt;I&amp;#39;m sorry to hear that this is causing some confusion around our nRF Connect SDK (NCS) and the nRF5340. I assume you have read our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/index.html"&gt;SDK documentation, currently at v1.7.0&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Especially I would encourage to read the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/ug_nrf53.html#working-with-nrf53-series"&gt;Working with nRF53-series&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]To start a new project I have copied a sample l lock stock and barrel from th nrf samples directory; then used the &amp;quot;open nrf connect project&amp;quot; wizard to create a new project for my board based on this copy..This creates a build directory with numerous directories and files; I then do a build.[/quote]
&lt;p&gt;Depending on&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/gs_programming.html#building-and-programming-an-application"&gt;how you would like to program your kit&lt;/a&gt;, I do recommend testing out our new VS Code extension as this often make a more clear overview of the project, and easier to jump back to where you left.&lt;/p&gt;
&lt;p&gt;As you mention, opening the Segger Embedded Studio Nordic Edition (SES) you can start working with &amp;quot;Open nRF Connect SDK project&amp;quot;. In here you can &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/samples.html#samples"&gt;select the project you like test&lt;/a&gt; e.g. &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/samples/bluetooth/peripheral_hids_keyboard/README.html#bluetooth-peripheral-hids-keyboard"&gt;Bluetooth: Peripheral HIDS keyboard&lt;/a&gt;&amp;nbsp;(please make sure that sample supports nRF5340)&amp;nbsp;Following the steps provided in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/ug_nrf5340.html#building-and-programming-a-sample"&gt;Building and programming a sample&lt;/a&gt; under Working with nRF53-series:&lt;/p&gt;
&lt;p&gt;(Here I&amp;#39;m using the Toolchain Manager)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1632487531480v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This will generate a build folder in&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;v1.7.0/nrf/samples/bluetooth/peripheral_hids_keyboard/&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After clicking OK, you should now be able to go to Build -&amp;gt; Build Solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now, as described under Multi-Image build, I add&amp;nbsp;&lt;a title="(in Zephyr Project v2.6.99)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/zephyr/samples/bluetooth/hci_rpmsg/README.html#bluetooth-hci-rpmsg-sample"&gt;&lt;span&gt;Bluetooth: HCI RPMsg&lt;/span&gt;&lt;/a&gt;&amp;nbsp;with New project -&amp;gt; Add to current solution.&lt;/p&gt;
&lt;p&gt;When you get to step 14, you are asked to download the network core image, and if you get an error, you might need to run nrfjprog --recover from your terminal.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;     --recover               Erases all user available non-volatile memory and
                             disables the read back protection mechanism if
                             enabled.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you have followed the steps correctly, you should now have a complete programmed nRF5340 DK running the sample you want.&lt;/p&gt;
&lt;p&gt;The next time you open this project with the same settings in picture above, you should be able to work from where you left.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>