<?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 Connect SDK can,t Add New File</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82656/nrf-connect-sdk-can-t-add-new-file</link><description>Hi, 
 nRF Connect SDK 1.7.1, windows 10 X64 
 run SEGGER Embedded Studio.cmd or click segger_embedded_studio IDE menu File-&amp;gt;Open nRF Connect SDK Project, 
 it will be got tow project file (build.emProject and periodic_adv.emProject) 
 build.emProject</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Dec 2021 00:30:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82656/nrf-connect-sdk-can-t-add-new-file" /><item><title>RE: nRF Connect SDK can,t Add New File</title><link>https://devzone.nordicsemi.com/thread/343284?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 00:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5a6c138-1737-4887-b3c6-4109bbcdda26</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;thanks a lot,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;can&amp;#39;t find&amp;nbsp;&lt;/span&gt;&lt;span class="guilabel"&gt;Add new file to CMakeLists.txt.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="guilabel"&gt;but i had got it,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="guilabel"&gt;can_modify_solution=&amp;quot;No&amp;quot;&amp;nbsp; change to&amp;nbsp; &amp;nbsp;can_modify_solution=&amp;quot;Yes&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="guilabel"&gt;it will be work well.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/746x768/__key/communityserver-discussions-components-files/4/pastedimage1639441369989v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/769x305/__key/communityserver-discussions-components-files/4/pastedimage1639441715442v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK can,t Add New File</title><link>https://devzone.nordicsemi.com/thread/343250?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 15:42:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:079ba27d-05aa-41ef-beb4-c958f3957c37</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Yu,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please follow this link if you want to modify/add file to your project:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You should use &amp;quot;Add new file to CMakelists.txt&amp;quot; or &amp;quot;Add existing file to CMakelists.txt&amp;quot; otherwise it wouldn&amp;#39;t build properly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that this option is only available in the sample inside nrf folder, not the zephyr&amp;#39;s default samples. It&amp;#39;s explained &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/61430/segger-ses-ncs-cmakelist-and-add-files/251005#251005"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried that option here but got python error, so I would suggest to just edit the CMakelists.txt file to add your own file, the same as the main.c file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the 2 .emProject, the one you should use is the periodic_adv.emProject.&lt;br /&gt;&lt;br /&gt;Anyway, I would suggest to use Visual Studio Code IDE instead of Segger Embedded Studio. In my opinion it&amp;#39;s easy to use and more stable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK can,t Add New File</title><link>https://devzone.nordicsemi.com/thread/343048?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 04:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc9352cd-2ff4-4187-9ef3-00e4b0ae3c31</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;i had finded&amp;nbsp;reason of why can&amp;#39;n &amp;quot;Add New File&amp;quot;.&lt;/p&gt;
&lt;p&gt;right click bese Solution, cilck Open Solution in Editor.&lt;/p&gt;
&lt;p&gt;can_modify_solution=&amp;quot;No&amp;quot;&amp;nbsp; &amp;nbsp;change to&amp;nbsp; &amp;nbsp;can_modify_solution=&amp;quot;Yes&amp;quot;,Save ReLoad Project..&lt;/p&gt;
&lt;p&gt;&lt;span&gt;why had tow project file?&amp;nbsp;&lt;/span&gt;periodic_adv.emProject is Solution,build.emProject&amp;nbsp; is projects.&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/764x351/__key/communityserver-discussions-components-files/4/pastedimage1639367502703v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>