<?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>Out of source tree development (nRF9160 &amp;amp; Zephyr)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49036/out-of-source-tree-development-nrf9160-zephyr</link><description>I would like to create a repo to house all our vendor-specific board support, applications, etc. outside the Nordic nrfConnect repositories as per the Zephyr workflow. However, I&amp;#39;m currently stuck trying to specify the BOARD_ROOT as an out of tree path</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jun 2019 11:13:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49036/out-of-source-tree-development-nrf9160-zephyr" /><item><title>RE: Out of source tree development (nRF9160 &amp; Zephyr)</title><link>https://devzone.nordicsemi.com/thread/195104?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 11:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40e242c0-1e7b-452f-8ed8-cff1dfc67c2d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can refer to the &lt;a href="https://docs.zephyrproject.org/latest/samples/application_development/out_of_tree_board/README.html"&gt;Out Of Tree Board&lt;/a&gt;&amp;nbsp;sample.&lt;/p&gt;
&lt;p&gt;The example has the board directory in the project folder, and has added the following to the samples CMakeLists.txt:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;cmake_minimum_required(VERSION 3.13.1)
# Re-direct the directory where the &amp;#39;boards&amp;#39; directory is found from
# $ZEPHYR_BASE to this directory.
set(BOARD_ROOT ${CMAKE_CURRENT_LIST_DIR})

# This sample is only compatible with nrf52840_pca10065 because it has
# re-directed the &amp;#39;boards&amp;#39; directory to a directory that only contains
# this board.
set(BOARD nrf52840_pca10056)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>