<?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 upgrade a project to use new SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96138/how-to-upgrade-a-project-to-use-new-sdk</link><description>Hi, 
 I have a project using nrf connect 2.0.0 SDK. How can I upgrade this app to use 2.2.0 SDK instead? I have installed 2.2.0 SDK using the toolchain manager, but not sure how to bring the project to use it. The CMakeList.txt talks about 
 
 find_package</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Feb 2023 22:45:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96138/how-to-upgrade-a-project-to-use-new-sdk" /><item><title>RE: How to upgrade a project to use new SDK</title><link>https://devzone.nordicsemi.com/thread/407861?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 22:45:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac401253-c429-4be4-bedd-312bc33d0b6f</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Thanks Marte, that solved the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upgrade a project to use new SDK</title><link>https://devzone.nordicsemi.com/thread/407696?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 08:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:568841ad-172e-4f5d-a03d-adfb81152e46</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Kaushalya,&lt;/p&gt;
&lt;p&gt;There was a change in Zephyr 3.1.0 where all Zephyr public headers were moved to include/zephyr. Due to this, when you include Zephyr headers, you need to prefix them with zephyr/:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;zephyr/device.h&amp;gt;
#include &amp;lt;zephyr/devicetree.h&amp;gt;
#include &amp;lt;zephyr/drivers/spi.h&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can find this change as the first point in the list of API changes here: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/releases/release-notes-3.1.html"&gt;Zephyr 3.1.0 - Release notes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upgrade a project to use new SDK</title><link>https://devzone.nordicsemi.com/thread/407440?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 22:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0dea0bc-ee0a-422f-9440-56afd8c3c617</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Thanks. I managed to change the SDK and toolchain, but not it cant seem to locate &amp;quot;devicetree.h, device.h and spi.h. I can see these files are in my &amp;quot;C:\ncs\v2.2.0\zephyr\include\zephyr&amp;quot;. I can hardcode the absolute path, but then that would creat problems if I upgrade to another SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Kaushalya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upgrade a project to use new SDK</title><link>https://devzone.nordicsemi.com/thread/407080?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 11:53:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4348d5d1-7c9a-448e-8222-e5ba8d084f70</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Kaushalya,&lt;/p&gt;
&lt;p&gt;If you are using VS Code to build the project, change the SDK and toolchain version. See &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/get_started/quick_setup.html"&gt;Setting up SDK and toolchain&lt;/a&gt; for more information.&lt;/p&gt;
&lt;p&gt;If you instead are building on command line, then select &amp;quot;Open bash&amp;quot; or similar next to the version of the SDK you want to use.&lt;/p&gt;
&lt;p&gt;Make sure to check the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/release_notes.html"&gt;release notes&lt;/a&gt; to see if there are any changes you must make in your project when migrating.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>