<?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>CMAKE Error : BOARD is not being defined &amp;amp; settings.json : incorrect type.Expected &amp;quot;String&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89403/cmake-error-board-is-not-being-defined-settings-json-incorrect-type-expected-string</link><description>Hi Nordic team, 
 I&amp;#39;m going to start new BLE application project, so I tried to understand how to use nRF52 series first. 
 I completed the academy and I&amp;#39;m trying to make my own project now with nRF52 DK. 
 My codes are working fine, and I managed to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jul 2022 09:30:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89403/cmake-error-board-is-not-being-defined-settings-json-incorrect-type-expected-string" /><item><title>RE: CMAKE Error : BOARD is not being defined &amp; settings.json : incorrect type.Expected "String"</title><link>https://devzone.nordicsemi.com/thread/375499?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 09:30:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2adbc927-2717-4776-8a38-3b162d5b1893</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Toto,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One thing that could lead to an issue (even though I am not sure about about your particular one) is if&amp;nbsp;you modify the configuration file of the build directly without saving it to the projects configuration file. If you for instance modify a lot using eg. Guiconfig, and then do a pristine build, you will lose everything you&amp;#39;ve modified, unless you save. I personally recommend using the Kconfig action, and then &amp;quot;save to file&amp;quot;, or modifying the configuration file directly. So to sum up, there might be a difference between the two configurations.&lt;/p&gt;
&lt;p&gt;I am not sure about what configuration could&amp;#39;ve lead to your errors. Though I guess you could&amp;#39;ve had erroneous configurations in your build folder, and switching to KConfig made you do a pristine build that lost them.&lt;/p&gt;
&lt;p&gt;Either way&amp;nbsp;I am glad that it got solved.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMAKE Error : BOARD is not being defined &amp; settings.json : incorrect type.Expected "String"</title><link>https://devzone.nordicsemi.com/thread/374638?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 23:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3628b8b8-183f-4807-8bac-7fbd8726c9f7</guid><dc:creator>toto cho</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Thank you for reply. I had this error message for a couple of weeks, but when I opened VSCode this morning, it&amp;#39;s suddenly gone!&lt;/p&gt;
&lt;p&gt;I tried to think what kind of change I made&amp;nbsp; yesterday and I&amp;#39;d like to answer your questions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. When I did some testing with the original samples (such as blinky,&amp;nbsp;peripheral_hr, button and etc.) I didn&amp;#39;t have this error message.&lt;/p&gt;
&lt;p&gt;2. Actually, this error message didn&amp;#39;t disappear after recreating my build configuration until yesterday.&lt;/p&gt;
&lt;p&gt;3. I installed NCS (nRF Connect SDK?) from nRF connect desktop, I have 2 versions - 1.9 and 2.0. I installed 1.9 in my user folder, but when I installed 2.0, I created a folder on c:\ and installed SDK in that folder.&lt;/p&gt;
&lt;p&gt;4. I think I changed one thing yesterday which was kconfig&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; - I tried to use guiconfig some time ago, so I set up Guiconfig, and yesterday, I thought guiconfig might be the reason for this error, so I changed it back to kconfig.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; - I&amp;#39;m not sure if this is related to this error.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m programming with VSCode on windows 10 with SDK 2.0.0&lt;/p&gt;
&lt;p&gt;If you can pick up any potential issue from my answer, please let me know. But if you are not sure, then I think I can close this case as the error and warning have been gone already.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Toto&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMAKE Error : BOARD is not being defined &amp; settings.json : incorrect type.Expected "String"</title><link>https://devzone.nordicsemi.com/thread/374548?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 12:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cf1be61-4582-4423-b50b-0cdeb17c3f85</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Toto,&lt;/p&gt;
&lt;p&gt;That is odd. I assume you are seeing the same issue while building&amp;nbsp;any sample as well?&lt;/p&gt;
&lt;p&gt;Did any of the errors/warnings disappear after recreating your build configuration?&lt;/p&gt;
&lt;p&gt;And did you do a manual or a automatic installation of NCS?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>