<?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>Any recommanded way to update code base to newer version of the nRF Connect SDK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94683/any-recommanded-way-to-update-code-base-to-newer-version-of-the-nrf-connect-sdk</link><description>Hello, 
 I am going through the tutorials in the DevAcademy. During the learning process, I noticed the nRF Connect SDK is updated several times. I started from 2.1.0, now the latest version is 2.2.0. I am wondering that is there a recommended way I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Dec 2022 11:37:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94683/any-recommanded-way-to-update-code-base-to-newer-version-of-the-nrf-connect-sdk" /><item><title>RE: Any recommanded way to update code base to newer version of the nRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/399899?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 11:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62352e0-bc06-454e-857c-37e5aa8ce483</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No, we have no recommended way of updating your local projects to new versions of the nRF Connect SDK.&lt;br /&gt;For some versions, we have migration notes, such as &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/migration/migration_guide_1.x_to_2.x.html"&gt;Migration notes for nRF Connect SDK v2.0.0&lt;/a&gt;.&lt;br /&gt;In addition, our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/release_notes.html"&gt;Release notes&lt;/a&gt; might have some value in this regards.&lt;/p&gt;
&lt;p&gt;Generally you want to have your local projects outside of the nRF Connct SDK folders, right.&lt;br /&gt;For some projects, you do not need to change anything for a new release, and can just build the project again for the new version(remember to delete build folder first).&lt;br /&gt;If you need to make changes, it is up to you how you structure your projects. Here are some suggestions. Keep in mind that these are not necessarily good, I just list some to provide an overview:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Have your project in git and branches to keep track of your project for different versions of the nRF Connect SDK. (This is the one I would have chosen myself)&lt;/li&gt;
&lt;li&gt;Have a folder structure, wit folders for different versions.&lt;/li&gt;
&lt;li&gt;Just update your project to the newest version and never go back to the previous version&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Did my answer give you some more insight?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>