<?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>nrf52840, with zephyr, running button example, can&amp;#39;t find my board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80307/nrf52840-with-zephyr-running-button-example-can-t-find-my-board</link><description>hello Nordic 
 
 i am working with nrf52840, with zephyr (i am new to zephyr) 
 
 i have an issue with not responding pin interrupt so i try to run zephyr example to see how it works there but when trying to build with my board i get an error that the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Oct 2021 05:59:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80307/nrf52840-with-zephyr-running-button-example-can-t-find-my-board" /><item><title>RE: nrf52840, with zephyr, running button example, can't find my board</title><link>https://devzone.nordicsemi.com/thread/332724?ContentTypeID=1</link><pubDate>Wed, 06 Oct 2021 05:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:554fde00-a533-4a65-a84d-50bb81d443d8</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>[quote user="ziv123"]i gave a path to the boards/arm in my project[/quote]
&lt;p&gt;Normally, if you are placing the board files in this &lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/zephyr-v2.4.0/boards/arm"&gt;location&lt;/a&gt;&amp;nbsp;you do not have to specify its path as the compiler will find it himself. Could you test this?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840, with zephyr, running button example, can't find my board</title><link>https://devzone.nordicsemi.com/thread/332701?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 18:23:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9428bf6a-f447-4f0a-9e60-343a39242d3c</guid><dc:creator>ziv123</dc:creator><description>[quote userid="100109" url="~/f/nordic-q-a/80307/nrf52840-with-zephyr-running-button-example-can-t-find-my-board/332679#332679"]So you already have tried to place your board files &lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/zephyr-v2.4.0/boards/arm"&gt;here&lt;/a&gt;, without the compiler finding them?[/quote]
&lt;p&gt;i gave a path to the boards/arm in my project&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840, with zephyr, running button example, can't find my board</title><link>https://devzone.nordicsemi.com/thread/332679?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 14:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc491c73-992f-4863-aeb2-357c9fb8caee</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>[quote user="ziv123"]&lt;p&gt;the&amp;nbsp;basic -&amp;gt; button sample&lt;/p&gt;
&lt;p&gt;the log :&lt;/p&gt;[/quote]
&lt;p lang="en-GB"&gt;Thank you, Ziv!&lt;/p&gt;
[quote user=""]but when trying to build with my board i get an error that the file is not found and it is looking in boards/arc instead of boards/arm, i could not find how to change this search path[/quote]
&lt;p lang="en-GB"&gt;So you already have tried to place your board files &lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/zephyr-v2.4.0/boards/arm"&gt;here&lt;/a&gt;, without the compiler finding them?&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840, with zephyr, running button example, can't find my board</title><link>https://devzone.nordicsemi.com/thread/332501?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 08:08:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cea48300-7fcc-4b26-ae82-5bbc80a4bc34</guid><dc:creator>ziv123</dc:creator><description>[quote userid="100109" url="~/f/nordic-q-a/80307/nrf52840-with-zephyr-running-button-example-can-t-find-my-board/332471#332471"]which Zephyr sample are you trying to build? Could you please provide me with a full build log so that I can see where the compiler stops?[/quote]
&lt;p&gt;the&amp;nbsp;basic -&amp;gt; button sample&lt;/p&gt;
&lt;p&gt;the log :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;button git:(fa70572d1d) west build -b canary_proto_rev_3 -- -DBOARD_ROOT=/home/zhershkovitch/workspace/canary_ep -DARCH=arm

-- west build: generating a build system
Including boilerplate (Zephyr base): /home/zhershkovitch/workspace/ncs/zephyr/cmake/app/boilerplate.cmake
CMake Deprecation Warning at /home/zhershkovitch/workspace/ncs/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy):
  The OLD behavior for policy CMP0079 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  /home/zhershkovitch/workspace/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /home/zhershkovitch/workspace/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:4 (find_package)


-- Application: /home/zhershkovitch/workspace/ncs/zephyr/samples/basic/button
-- Zephyr version: 2.4.99 (/home/zhershkovitch/workspace/ncs/zephyr)
-- Found Python3: /usr/bin/python3.9 (found suitable exact version &amp;quot;3.9.7&amp;quot;) found components: Interpreter 
-- Found west (found suitable version &amp;quot;0.10.1&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: canary_proto_rev_3
No board named &amp;#39;canary_proto_rev_3&amp;#39; found.

Please choose one of the following boards:

Traceback (most recent call last):
  File &amp;quot;/home/zhershkovitch/workspace/ncs/zephyr/scripts/list_boards.py&amp;quot;, line 113, in &amp;lt;module&amp;gt;
    dump_boards(find_arch2boards(parse_args()))
  File &amp;quot;/home/zhershkovitch/workspace/ncs/zephyr/scripts/list_boards.py&amp;quot;, line 32, in find_arch2boards
    arch2board_set = find_arch2board_set(args)
  File &amp;quot;/home/zhershkovitch/workspace/ncs/zephyr/scripts/list_boards.py&amp;quot;, line 45, in find_arch2board_set
    for arch, boards in find_arch2board_set_in(root, arches).items():
  File &amp;quot;/home/zhershkovitch/workspace/ncs/zephyr/scripts/list_boards.py&amp;quot;, line 78, in find_arch2board_set_in
    for maybe_board in (boards / arch).iterdir():
  File &amp;quot;/usr/lib/python3.9/pathlib.py&amp;quot;, line 1160, in iterdir
    for name in self._accessor.listdir(self):
FileNotFoundError: [Errno 2] No such file or directory: &amp;#39;/home/zhershkovitch/workspace/canary_ep/boards/arc&amp;#39;
CMake Error at /home/zhershkovitch/workspace/ncs/zephyr/cmake/app/boilerplate.cmake:383 (message):
  Invalid BOARD; see above.
Call Stack (most recent call first):
  /home/zhershkovitch/workspace/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /home/zhershkovitch/workspace/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python -B/home/zhershkovitch/workspace/ncs/zephyr/samples/basic/button/build -S/home/zhershkovitch/workspace/ncs/zephyr/samples/basic/button -GNinja -DBOARD=canary_proto_rev_3 -DBOARD_ROOT=/home/zhershkovitch/workspace/canary_ep -DARCH=arm
➜  button git:(fa70572d1d) &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840, with zephyr, running button example, can't find my board</title><link>https://devzone.nordicsemi.com/thread/332471?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 07:00:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddfe7260-2391-4ebd-8b0e-5df7c9884d78</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Ziv,&lt;/p&gt;
[quote user=""]i have an issue with not responding pin interrupt so i try to run zephyr example to see how it works there but when trying to build with my board i get an error that the file is not found and it is looking in boards/arc instead of boards/arm, i could not find how to change this search path[/quote]
&lt;p lang="en-GB"&gt;which Zephyr sample are you trying to build? Could you please provide me with a full build log so that I can see where the compiler stops?&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Thanks and regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>