<?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 specify BOARD from other than command line in NCS2.8.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116466/how-to-specify-board-from-other-than-command-line-in-ncs2-8-0</link><description>I work NCS2.8.0. 
 In NCS2.6.0, there was no problem if I put the BOARD settings in CMakeLists.txt and ran &amp;quot;west build&amp;quot;. 
 However, in NCS2.8.0, an error occurs. (undefined BOARD) 
 I want to write the BOARD settings in a file and keep them. Please tell</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Nov 2024 10:03:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116466/how-to-specify-board-from-other-than-command-line-in-ncs2-8-0" /><item><title>RE: How to specify BOARD from other than command line in NCS2.8.0</title><link>https://devzone.nordicsemi.com/thread/511614?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 10:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c966d050-2fec-42d4-99b1-a38f880c0b44</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Answered in&amp;nbsp;your other post here:&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/116464/the-board-variable-is-not-defined-at-the-top-of-cmakelists-txt-on-ncs2-8-0"&gt;The BOARD variable is not defined at the top of CmakeLists.txt on ncs2.8.0&lt;/a&gt;&amp;nbsp; &amp;nbsp;, so I will close this here(Case ID 336220)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify BOARD from other than command line in NCS2.8.0</title><link>https://devzone.nordicsemi.com/thread/510909?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 14:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91d5aaa0-864b-469d-a6b1-3fd8724db27d</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;Is this an example of putting&lt;br /&gt;set(BOARD qemu_x86)&lt;br /&gt;at the beginning of CMakeLists.txt?&lt;br /&gt;This works fine, but I still need to specify the board with&lt;br /&gt;west build -b qemu_x86.&lt;br /&gt;My concern is that it&amp;#39;s redundant to specify both the board name in west and the board name in set.&lt;br /&gt;Is there a way to build by just specifying BOARD in CMakeLists.txt, as was possible with ncs2.6.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify BOARD from other than command line in NCS2.8.0</title><link>https://devzone.nordicsemi.com/thread/510898?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 13:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a274088-4029-4289-994f-2e03db539f99</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;This should still be possible,&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/develop/application/index.html#application-cmakelists-txt"&gt;https://docs.zephyrproject.org/latest/develop/application/index.html#application-cmakelists-txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What board are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>