<?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>Best way to start new project on nRF toolchain manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73323/best-way-to-start-new-project-on-nrf-toolchain-manager</link><description>I&amp;#39;m new to the nRF connect sdk (but have used the previous sdk in the past), and am wondering what the best way to start a new project is? With the old sdk, it was easiest to just copy a sample project and use that, but I&amp;#39;m wondering if there is a better</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Mar 2021 13:30:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73323/best-way-to-start-new-project-on-nrf-toolchain-manager" /><item><title>RE: Best way to start new project on nRF toolchain manager</title><link>https://devzone.nordicsemi.com/thread/302386?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 13:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a056da5-f870-4858-8495-ef1ef95348a1</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We still recommend copying a sample application that most closely resembles the application you want to write.&lt;/p&gt;
&lt;p&gt;If you want to start completely from scratch, you can create the application directory &amp;lt;app&amp;gt; and src directory &amp;lt;app&amp;gt;/src and place the main.c file in src. Then create prj.conf and CMakeLists.txt in &amp;lt;app&amp;gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CMakeLists.txt should contain&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cmake_minimum_required(VERSION 3.13.1)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(hello_world)
target_sources(app PRIVATE src/main.c)&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>