<?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>How to revision control user application code in NRF Connect SDK with minimal code space.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82932/how-to-revision-control-user-application-code-in-nrf-connect-sdk-with-minimal-code-space</link><description>While creating a new project in VS Code with NRF Connect SDK, I would like to add the application specific files to my private company git repository. The issue is that I am not completely sure which files are absolutely necessary. I would like to include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Jan 2022 14:06:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82932/how-to-revision-control-user-application-code-in-nrf-connect-sdk-with-minimal-code-space" /><item><title>RE: How to revision control user application code in NRF Connect SDK with minimal code space.</title><link>https://devzone.nordicsemi.com/thread/346721?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 14:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d351b465-a54f-4c2f-8a0d-951ced4ea319</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;There are two Zephyr folder&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Zephyr repo - nrf-zephyr e.g. C:\NordicSemi\v1.8.0\zephyr (607 MB)&lt;/li&gt;
&lt;li&gt;Zephyr build folder generated by CMake. e.g. &lt;em&gt;nrf\applications\asset_tracker_v2\build\zephyr&lt;/em&gt;&amp;nbsp;(26.3MB)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The latter&amp;nbsp;includes the final binary to program your device with. Please see&amp;nbsp; Zephyr&amp;#39;s&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/build/index.html#build-and-configuration-systems"&gt;Build and configuration system&lt;/a&gt;&amp;nbsp;and the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/app_build_system.html#build-and-configuration-system"&gt;nRF Build and configuration system&lt;/a&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><item><title>RE: How to revision control user application code in NRF Connect SDK with minimal code space.</title><link>https://devzone.nordicsemi.com/thread/346271?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 15:28:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30273601-fc72-425a-8693-bbf9bacb13ff</guid><dc:creator>irose</dc:creator><description>&lt;p&gt;On my machine the Zephyr folder, checkout out from the zephyr git repo, is about 22MB. I&amp;#39;m working thought this documentation now. I&amp;#39;d like to be able to also revision control the build script that can be run from the nrf connect console tools, for both the build server and when we have interns or new employees.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to revision control user application code in NRF Connect SDK with minimal code space.</title><link>https://devzone.nordicsemi.com/thread/344548?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 10:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23484589-350e-4963-9467-f26d4e53eb90</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Yes, this is a good guide to follow.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="irose"] would also be committing 22M of the Zephyr repo[/quote]
&lt;p&gt;What 22M are you talking about? Can you please elaborate?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to revision control user application code in NRF Connect SDK with minimal code space.</title><link>https://devzone.nordicsemi.com/thread/344444?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 19:25:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da4fbbf4-c012-4396-ba5a-5222fb9dccdf</guid><dc:creator>AndreHarris</dc:creator><description>&lt;p&gt;Check out section 2.1.2 of the nRF SDK Tutorial part 2&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h109sk6474irk6c8olzstpo211psva72"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h109sk6474irk6c8olzstpo211psva72&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;this covers user workflow and has 4 options for version control and managing repositories&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to revision control user application code in NRF Connect SDK with minimal code space.</title><link>https://devzone.nordicsemi.com/thread/344404?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 14:52:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2ecd381-c2c9-439a-a500-42abada7347e</guid><dc:creator>irose</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/oyvind-schei"&gt;Øyvind&lt;/a&gt;, those are the base files, but what I&amp;#39;d like to capture is the entire application including the build configuration.&amp;nbsp;&lt;br /&gt;What I&amp;#39;d like to have happen, is that a junior developer can install the NRF Connect SDK, NRF console tools, VS Code with extension, and build the code base with minimal modification of the files. Merely cloning the repo of application code and importing the project into Nordic Extension in VS Code.&lt;br /&gt;&lt;br /&gt;This would be very similar to having a build server do the same. I could commit the entire app folder, however, I would also be committing 22M of the Zephyr repo. This approach defeats the robustness of the west and the zephyr model, where only a tag in the zephyr repo should be needed. I&amp;#39;m not sure what all gets created when build settings are generated by the VS Code extension. If the modules manifest files are specific to the board selected, then of course we&amp;#39;d want to capture that.&lt;br /&gt;&lt;br /&gt;I was hoping that there was a short description of this process. Perhaps a white paper or how to guide that indicates the folders/files/modifications necessary to accomplish this task. If the answer is to pour through the zephyr documentation, so be it. Nordic has made development of a product by a single developer easy, however a team that is co-developing needs a more rigorous software development approach.&lt;br /&gt;&lt;br /&gt;Perhaps I am looking at this incorrectly. Should I commit the base files for the app and then write script files to run pull all the processes that are run by the Nordic VS Code Extension? If that is the case, that process de-values the automated build creation capability in the Nordic VS Code Extension.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to revision control user application code in NRF Connect SDK with minimal code space.</title><link>https://devzone.nordicsemi.com/thread/344387?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 13:52:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a81d44b-fd90-4225-ac2e-b381fa86d535</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure what you are referring to here. Have you &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/getting_started.html#getting-started"&gt;gone through our documentation found in the nRF Connect SDK documents?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you mean sharing one project e.g. zephyr\samples\hello_world ?&amp;nbsp;This folder includes:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;zephyr\samples\hello_world\src
zephyr\samples\hello_world\src\main.c
zephyr\samples\hello_world\CMakeLists.txt
zephyr\samples\hello_world\prj_uefi.conf
zephyr\samples\hello_world\prj.conf
zephyr\samples\hello_world\README.rst
zephyr\samples\hello_world\sample.yaml&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can generate a freestanding project in e.g. C:\Temp\hello_world, creating an out of tree project. This folder can be shared on e.g. Github. No need to inclucde build folders that are generated when building the project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/application/index.html#application-development"&gt;Application Development in the Zephyr repo docuementation&lt;/a&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>