<?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>Could not find a package configuration file provided by &amp;quot;Zephyr-sdk&amp;quot; on macOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100125/could-not-find-a-package-configuration-file-provided-by-zephyr-sdk-on-macos</link><description>minimal_log_button_gpioe % west build -b custom_nrf52832 -- west build: generating a build system Loading Zephyr default modules (Zephyr base). -- Application: /opt/nordic/ncs/v2.3.0/nrf/samples/minimal_log_button_gpioe -- Using NCS Toolchain 2.3.0 for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Jul 2024 09:41:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100125/could-not-find-a-package-configuration-file-provided-by-zephyr-sdk-on-macos" /><item><title>RE: Could not find a package configuration file provided by "Zephyr-sdk" on macOS</title><link>https://devzone.nordicsemi.com/thread/492027?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 09:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:708f88a7-c87c-4137-b718-43ffca843622</guid><dc:creator>coderunner</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am having same error running z-test on provided Nordic test samples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Installed&amp;nbsp; nRF SDK v2.00, using nRF-Connect &amp;amp; Tool chain manager.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have tried setting:&lt;/p&gt;
&lt;p&gt;- Set ZEPHYR_BASE to the location of the zephyr repository:&lt;br /&gt;&amp;nbsp; zephyr-env.cmd&lt;/p&gt;
&lt;p&gt;- Set Zephyr SDK Install directory:&lt;br /&gt;&amp;nbsp; set ZEPHYR_SDK_INSTALL_DIR = C:\ncs\toolchains\v2.0.0\&lt;br /&gt;- Set Zephyr Tool Chain:&lt;br /&gt;&amp;nbsp; set ZEPHYR_TOOL_CHAIN_VARIANT = zephyr&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Additionally:&lt;/p&gt;
&lt;p&gt;To avoid reported CMake error during z-test:&lt;br /&gt;- Export Zephyr CMake package allows CMake to automatically find a Zephyr base. &lt;br /&gt;&amp;nbsp;cmake -P C:\ncs\v2.0.0\zephyr\share\zephyr-package\cmake\zephyr_export.cmake&lt;br /&gt;&amp;nbsp; - Consequently Added to the user package registry in:&lt;br /&gt;&amp;nbsp; &amp;nbsp; HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\Zephyr&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However the same CMake error persists (as in previous post).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BTW those files do not seem to be in my install directory, namely:&lt;/p&gt;
&lt;p&gt;zephyr-sdk-config.cmake (or similar).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can Nordic support suggest a solution?&lt;/p&gt;
&lt;p&gt;I have also posted on Discord (Zephyr support) but no replies received.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanking you in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not find a package configuration file provided by "Zephyr-sdk" on macOS</title><link>https://devzone.nordicsemi.com/thread/456460?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 14:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:493f95fd-f4f0-4fd0-b53c-4335dd494400</guid><dc:creator>Jamal_nRF</dc:creator><description>&lt;p&gt;is this ticket assigned to Nordic Support Team?&lt;/p&gt;
&lt;p&gt;still looking forward to the resolution of the CMake Error&lt;/p&gt;
&lt;p&gt;please LMK if you need additional information and whether creating a new ticket is preferred...&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not find a package configuration file provided by "Zephyr-sdk" on macOS</title><link>https://devzone.nordicsemi.com/thread/455862?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2023 03:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d136b496-fa5b-4df3-bf0e-561e0af7b346</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not find a package configuration file provided by "Zephyr-sdk" on macOS</title><link>https://devzone.nordicsemi.com/thread/455832?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 18:12:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50951e41-e32a-4c55-9d0f-29497b793188</guid><dc:creator>Jamal_nRF</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;was this issue being resolved and how?&lt;/p&gt;
&lt;p&gt;I came across something pretty similar by trying to run twister from python&lt;/p&gt;
&lt;p&gt;I am following documentation from here&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.4/zephyr/develop/test/ztest.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.4/zephyr/develop/test/ztest.html&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Quick start - Integration testing&lt;/h2&gt;
&lt;p&gt;Very much interested into what the resolution was...&lt;/p&gt;
&lt;p&gt;I am upgraded to the latest nRF SDK and Toolchain v2.5.0&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;$ python.exe ./scripts/twister&amp;nbsp; -s&amp;nbsp;&amp;nbsp; c:/nRF/test/foo/bar/test-identifier&lt;br /&gt;ZEPHYR_BASE unset, using &amp;quot;C:\ncs\v2.5.0\zephyr&amp;quot;&lt;br /&gt;Install tabulate python module with pip to use --device-testing option.&lt;br /&gt;Renaming output directory to C:\ncs\v2.5.0\zephyr\twister-out.8&lt;br /&gt;INFO&amp;nbsp;&amp;nbsp;&amp;nbsp; - Using Ninja..&lt;br /&gt;INFO&amp;nbsp;&amp;nbsp;&amp;nbsp; - Zephyr version: v3.4.99-ncs1&lt;br /&gt;ERROR&amp;nbsp;&amp;nbsp; - Cmake script failure: C:\ncs\v2.5.0\zephyr\cmake\verify-toolchain.cmake&lt;br /&gt;E: CMake Error at C:/ncs/v2.5.0/zephyr/cmake/modules/FindZephyr-sdk.cmake:109 (find_package):&lt;br /&gt;&amp;nbsp; Could not find a package configuration file provided by &amp;quot;Zephyr-sdk&amp;quot;&lt;br /&gt;&amp;nbsp; (requested version 0.15) with any of the following names:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Zephyr-sdkConfig.cmake&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; zephyr-sdk-config.cmake&lt;br /&gt;&lt;br /&gt;&amp;nbsp; Add the installation prefix of &amp;quot;Zephyr-sdk&amp;quot; to CMAKE_PREFIX_PATH or set&lt;br /&gt;&amp;nbsp; &amp;quot;Zephyr-sdk_DIR&amp;quot; to a directory containing one of the above files.&amp;nbsp; If&lt;br /&gt;&amp;nbsp; &amp;quot;Zephyr-sdk&amp;quot; provides a separate development package or SDK, be sure it has&lt;br /&gt;&amp;nbsp; been installed.&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt;&amp;nbsp; C:/ncs/v2.5.0/zephyr/cmake/modules/FindHostTools.cmake:53 (find_package)&lt;br /&gt;&amp;nbsp; C:/ncs/v2.5.0/zephyr/cmake/verify-toolchain.cmake:30 (find_package)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not find a package configuration file provided by "Zephyr-sdk" on macOS</title><link>https://devzone.nordicsemi.com/thread/427445?ContentTypeID=1</link><pubDate>Thu, 25 May 2023 09:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:600b3091-b969-498c-a644-a40b32cc1b2f</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This means that either the Zephyr-SDK install did not create a cmake package properly, or it cannot be found.&lt;/p&gt;
&lt;p&gt;How did you install NCS? Did you do an automatic install with the Toolchain Manager?&lt;/p&gt;
&lt;p&gt;If so, did you open your VSCode or terminal using that application, as you can see on the picture below? This should set up the required environmental variables automatically, that you may be missing otherwise by default.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/_images/gs-assistant_tm_dropdown.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not find a package configuration file provided by "Zephyr-sdk" on macOS</title><link>https://devzone.nordicsemi.com/thread/427420?ContentTypeID=1</link><pubDate>Thu, 25 May 2023 08:25:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2fea99e-a918-4b3f-a86c-6cd2dcbec2bd</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2161.minimal_5F00_log_5F00_button_5F00_gpioe.zip"&gt;devzone.nordicsemi.com/.../2161.minimal_5F00_log_5F00_button_5F00_gpioe.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not find a package configuration file provided by "Zephyr-sdk" on macOS</title><link>https://devzone.nordicsemi.com/thread/427419?ContentTypeID=1</link><pubDate>Thu, 25 May 2023 08:25:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfad3946-ebe4-493c-ac36-9f6b1ec03f87</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3312.custom_5F00_nrf52832.zip"&gt;devzone.nordicsemi.com/.../3312.custom_5F00_nrf52832.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>