<?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>Twister cannot find custom out-of-tree board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125499/twister-cannot-find-custom-out-of-tree-board</link><description>I have a custom board based on nRF5340 with nRF7002 WiFi (duplicated from nrf7002dk board definition). The board builds successfully with west build, but Twister cannot find it. 
 Setup: - Custom board location: boards/roomz/RoomzDisplay/ - Board identifier</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Jan 2026 12:45:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125499/twister-cannot-find-custom-out-of-tree-board" /><item><title>RE: Twister cannot find custom out-of-tree board</title><link>https://devzone.nordicsemi.com/thread/558268?ContentTypeID=1</link><pubDate>Thu, 08 Jan 2026 12:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8171123b-d0f3-45f6-bc60-bbd11816f8eb</guid><dc:creator>cedric.gerber</dc:creator><description>&lt;p&gt;Short update, I&amp;#39;ve finally found the issue, it was due to the naming of the files, it has to be yaml and not yml. (I thought I tried this, but got mixed up with the out of tree board files).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Would be nice to have the same parser mechanism for build and test : )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Twister cannot find custom out-of-tree board</title><link>https://devzone.nordicsemi.com/thread/554380?ContentTypeID=1</link><pubDate>Fri, 14 Nov 2025 11:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75400b3b-4a16-4ea3-84cc-63fa032b31bf</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="cedric.gerber"]Do you know which community is the best?&amp;nbsp;[/quote]
&lt;p&gt;If you have issues reaching out to the community, it might be beneficial to join their discord server and ask there.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Twister cannot find custom out-of-tree board</title><link>https://devzone.nordicsemi.com/thread/554259?ContentTypeID=1</link><pubDate>Thu, 13 Nov 2025 12:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88c71425-dad5-4b3f-bb12-aa6b60bd54d0</guid><dc:creator>cedric.gerber</dc:creator><description>&lt;p&gt;Hi, thanks for the feedback. Do you know which community is the best?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I opened a discussion in githhub:&amp;nbsp;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/discussions/99209"&gt;https://github.com/zephyrproject-rtos/zephyr/discussions/99209&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Twister cannot find custom out-of-tree board</title><link>https://devzone.nordicsemi.com/thread/553976?ContentTypeID=1</link><pubDate>Tue, 11 Nov 2025 13:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82190a65-c469-4f73-afc6-73828932d31c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could try the same procedure with the custom board given in the example-application:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/example-application"&gt;https://github.com/zephyrproject-rtos/example-application&lt;/a&gt;&lt;/p&gt;
[quote user="cedric.gerber"]&lt;p&gt;I just tried to duplicate my board directory to &amp;quot;C:\ncs\v3.1.1\zephyr\boards&amp;quot;&lt;/p&gt;
&lt;p&gt;Now I get the error:&lt;/p&gt;
&lt;p&gt;ERROR: Board(s): {&amp;#39;RoomzDisplay&amp;#39;}, defined multiple times.&lt;br /&gt;Last defined in C:\workspace\gen3\boards\roomz\roomzdisplay\board.yml&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;You need to remove it from the zephyr/boards folder if you want to use it as a out-of-tree board.&lt;/p&gt;
[quote user="cedric.gerber"]I suppose the error is actually not due to being out of tree, but the parsing of the board files with twister? The build is ok.[/quote]
&lt;p&gt;I suspect this as well. I would recommend that you contact the zephyr community related to twister issues.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Twister cannot find custom out-of-tree board</title><link>https://devzone.nordicsemi.com/thread/553828?ContentTypeID=1</link><pubDate>Mon, 10 Nov 2025 13:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1611ac08-24e4-40d2-a0be-e7b150fe4edd</guid><dc:creator>cedric.gerber</dc:creator><description>&lt;p&gt;Hi, thanks for you reply!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes I did use &amp;quot;--board-root .&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just tried to duplicate my board directory to &amp;quot;C:\ncs\v3.1.1\zephyr\boards&amp;quot;&lt;/p&gt;
&lt;p&gt;Now I get the error:&lt;/p&gt;
&lt;p&gt;ERROR: Board(s): {&amp;#39;RoomzDisplay&amp;#39;}, defined multiple times.&lt;br /&gt;Last defined in C:\workspace\gen3\boards\roomz\roomzdisplay\board.yml&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This seems to indicate the board location is parsed correctly.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;But when I remove the --board-root . I get:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;ERROR&amp;nbsp; &amp;nbsp;- platform_allow in RoomzDisplay.power.sleep - unrecognized platform - RoomzDisplay/nrf5340/cpuapp&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I suppose the error is actually not due to being out of tree, but the parsing of the board files with twister? The build is ok.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I&amp;#39;ve tried to rename my .yml files to .yaml as I saw a comment saying it could cause issues. It did not help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Any idea what could cause the issue?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Twister cannot find custom out-of-tree board</title><link>https://devzone.nordicsemi.com/thread/553775?ContentTypeID=1</link><pubDate>Mon, 10 Nov 2025 08:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:579c1981-19c1-4607-8839-ecea4d9f1222</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you&amp;nbsp;tried passing the &amp;quot;BOARD_ROOT&amp;quot; parameter to the twister application, as per its expected syntax listed here?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/latest/develop/test/twister.html"&gt;https://docs.zephyrproject.org/latest/develop/test/twister.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on searches in zephyr&amp;#39;s &amp;quot;issues&amp;quot; threads, this feature will require specific settings in zephyr/module.yml as well:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/discussions/67674"&gt;https://github.com/zephyrproject-rtos/zephyr/discussions/67674&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/38047"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/38047&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>