<?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>nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92557/nrf5340-multicore-application-configuration-problem</link><description>Hi all 
 I&amp;#39;ve tried to build the nRF5340: Multicore application on different host platforms using the nRF Connect SDK v2.1.0. It worked without any problems on Windows and Linux but failed to build on a Mac with macOS 12. nRF Connect for Desktop was used</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Nov 2022 14:58:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92557/nrf5340-multicore-application-configuration-problem" /><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/395600?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 14:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a723ea2-a3f4-49fc-a14c-f6a5d6c40a9a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Thanks for the solution. I would forward to the team to investigate the issue.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/395388?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 16:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56d57458-9a43-439c-b80d-7c58230ae251</guid><dc:creator>nkost</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;I agree with the first part, that the problem is not &amp;quot;which or how many pythons are installed&amp;quot;. But if the PATH variable was the problem, the build process should already fail when building the parent image as far as I&amp;#39;m aware, but it doesn&amp;#39;t. The parent image builds fine (and picks up the toolchain&amp;#39;s python), but the child image doesn&amp;#39;t, because it picks up a different python (the one of the system).&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t remove the system&amp;#39;s python from the PATH variable, it is needed there.&lt;/p&gt;
&lt;p&gt;The terminal is from VScode, where the build process is started from within the nRF Connect SDK plugin.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was able to termporarily get it to work:&lt;/p&gt;
&lt;p&gt;In the CMakeLists.txt of the child image&amp;#39;s build folder, the symbol PYTHON_PREFER_EXECUTABLE was set to the system&amp;#39;s python. I can set this symbol to the path of the toolchain&amp;#39;s python to ensure that the child image also picks up the correct python version by passing this symbol from the parent&amp;#39;s CMakeLists.txt (in the project folder, not the project&amp;#39;s build folder) to the child image (as described &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_multi_image.html#image-specific-variables"&gt;here&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why this symbol would be set wrong, maybe this helps to pin down the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/395381?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 15:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67d47121-3cec-4204-8225-3a8cdfba4278</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the delay. Get the following information from the team:&lt;/p&gt;
&lt;p&gt;I think the issue is not which or how many pythons are installed but which of them are available in PATH in the environment that is used to build. It could be a solution to ensure that the offending python installation is not set in the environment (PATH / PYTHONHOME...).&lt;/p&gt;
&lt;p&gt;Is this a terminal in VSCode? Is this a terminal started by the toolchain manager?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If it&amp;#39;s just a standalone terminal from the system then try to use one started from the toolchain manager.&lt;/li&gt;
&lt;li&gt;If it was from toolchain manager, try to use VSCode&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Amamda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/394784?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 17:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19917e4f-bb3d-46d0-b572-2cb8a22b7765</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Not yet. I would contact the team again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/394492?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 15:21:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afa11529-cb19-4695-b20c-d365ca072d04</guid><dc:creator>nkost</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Any news on this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/391751?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 20:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44d27148-cf1c-4423-8b90-438f166af274</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for reporting the issue. I have forwarded it to the team. Sorry for the inconvenience.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/389747?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2022 06:28:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4626987c-4438-462c-9228-1a3d74f16921</guid><dc:creator>nkost</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t downgrade Python from v 3.10.5 on the host. Although I could also install v 3.9.6, but IMO that would not help, as the build process picks the Python version from the wrong path.&lt;/p&gt;
&lt;p&gt;Following the log part of the child process:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;=== child image rpc_host - CPUNET begin ===
loading initial cache file /Users/noah/Projects/MA-ESW2202/code/rpc_host/build/rpc_host/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base).
-- Application: /opt/nordic/ncs/v2.1.0/nrf/samples/bluetooth/rpc_host
-- Found Python3: /Users/noah/.pyenv/shims/python3.10 (found suitable exact version &amp;quot;3.10.5&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /Users/noah/Library/Caches/zephyr
-- Zephyr version: 3.1.99 (/opt/nordic/ncs/v2.1.0/zephyr)
-- Board: nrf5340dk_nrf5340_cpunet
-- Found host-tools: zephyr 0.14.1 (/opt/nordic/ncs/toolchains/v2.1.0/opt/zephyr-sdk)
-- Found dtc: /opt/nordic/ncs/toolchains/v2.1.0/bin/dtc (found suitable version &amp;quot;1.6.1&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: zephyr 0.14.1 (/opt/nordic/ncs/toolchains/v2.1.0/opt/zephyr-sdk)
-- Found BOARD.dts: /opt/nordic/ncs/v2.1.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
-- Generated zephyr.dts: /Users/noah/Projects/MA-ESW2202/code/rpc_host/build/rpc_host/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /Users/noah/Projects/MA-ESW2202/code/rpc_host/build/rpc_host/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /Users/noah/Projects/MA-ESW2202/code/rpc_host/build/rpc_host/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /Users/noah/Projects/MA-ESW2202/code/rpc_host/build/rpc_host/zephyr/dts.cmake

/opt/nordic/ncs/v2.1.0/nrf/samples/bluetooth/rpc_host/prj.conf:8: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol BT_RPC

/opt/nordic/ncs/v2.1.0/nrf/samples/bluetooth/rpc_host/prj.conf:9: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol BT_RPC_HOST

/opt/nordic/ncs/v2.1.0/nrf/samples/bluetooth/rpc_host/prj.conf:32: warning: attempt to assign the value &amp;#39;4096&amp;#39; to the undefined symbol NRF_RPC_THREAD_STACK_SIZE

/opt/nordic/ncs/v2.1.0/nrf/subsys/partition_manager/partition_manager_enabled.conf:7: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol PARTITION_MANAGER_ENABLED

warning: HAS_NORDIC_DRIVERS (defined at modules/hal_nordic/Kconfig:11) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_SERIES_NRF53X (defined at soc/arm/nordic_nrf/nrf53/Kconfig.series:6), with value y, direct dependencies &amp;lt;choice&amp;gt; (value: y), and select condition &amp;lt;choice&amp;gt; (value: y)

warning: HAS_NRFX (defined at modules/hal_nordic/nrfx/Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_SERIES_NRF53X (defined at soc/arm/nordic_nrf/nrf53/Kconfig.series:6), with value y, direct dependencies &amp;lt;choice&amp;gt; (value: y), and select condition &amp;lt;choice&amp;gt; (value: y)

warning: NRFX_CLOCK (defined at modules/hal_nordic/nrfx/Kconfig:14) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - CLOCK_CONTROL_NRF (defined at drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies DT_HAS_NORDIC_NRF_CLOCK_ENABLED &amp;amp;&amp;amp; CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT &amp;amp;&amp;amp; DT_HAS_NORDIC_NRF_CLOCK_ENABLED &amp;amp;&amp;amp; CLOCK_CONTROL (value: y)

warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at modules/hal_nordic/nrfx/Kconfig:18) has direct dependencies NRFX_CLOCK &amp;amp;&amp;amp; HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at drivers/clock_control/Kconfig.nrf:36), with value y, direct dependencies &amp;lt;choice CLOCK_CONTROL_NRF_SOURCE&amp;gt; (value: y), and select condition !SOC_SERIES_BSIM_NRFXX &amp;amp;&amp;amp; !CLOCK_CONTROL_NRF_FORCE_ALT &amp;amp;&amp;amp; &amp;lt;choice CLOCK_CONTROL_NRF_SOURCE&amp;gt; (value: y)

warning: NRFX_DPPI (defined at modules/hal_nordic/nrfx/Kconfig:26) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - UART_ENHANCED_POLL_OUT (defined at drivers/serial/Kconfig.nrfx:422), with value y, direct dependencies (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) &amp;amp;&amp;amp; UART_NRFX &amp;amp;&amp;amp; SERIAL (value: y), and select condition HAS_HW_NRF_DPPIC &amp;amp;&amp;amp; (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) &amp;amp;&amp;amp; UART_NRFX &amp;amp;&amp;amp; SERIAL (value: y)

warning: NRFX_GPIOTE (defined at modules/hal_nordic/nrfx/Kconfig:63) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - GPIO_NRFX (defined at drivers/gpio/Kconfig.nrfx:4), with value y, direct dependencies DT_HAS_NORDIC_NRF_GPIO_ENABLED &amp;amp;&amp;amp; GPIO (value: y), and select condition DT_HAS_NORDIC_NRF_GPIO_ENABLED &amp;amp;&amp;amp; GPIO (value: y)

warning: NRFX_NVMC (defined at modules/hal_nordic/nrfx/Kconfig:93) has direct dependencies (n || n || y || n) &amp;amp;&amp;amp; HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_FLASH_NRF (defined at drivers/flash/Kconfig.nrf:10), with value y, direct dependencies (DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF91_FLASH_CONTROLLER_ENABLED) &amp;amp;&amp;amp; !FLASH_NRF_FORCE_ALT &amp;amp;&amp;amp; FLASH (value: y), and select condition (DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF91_FLASH_CONTROLLER_ENABLED) &amp;amp;&amp;amp; !FLASH_NRF_FORCE_ALT &amp;amp;&amp;amp; FLASH (value: y)

error: Aborting due to Kconfig warnings

Parsing /opt/nordic/ncs/v2.1.0/zephyr/Kconfig
Loaded configuration &amp;#39;/opt/nordic/ncs/v2.1.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig&amp;#39;
Merged configuration &amp;#39;/opt/nordic/ncs/v2.1.0/nrf/samples/bluetooth/rpc_host/prj.conf&amp;#39;
Merged configuration &amp;#39;/opt/nordic/ncs/v2.1.0/nrf/subsys/partition_manager/partition_manager_enabled.conf&amp;#39;
CMake Error at /opt/nordic/ncs/v2.1.0/zephyr/cmake/modules/kconfig.cmake:293 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /opt/nordic/ncs/v2.1.0/zephyr/cmake/modules/zephyr_default.cmake:121 (include)
  /opt/nordic/ncs/v2.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /opt/nordic/ncs/v2.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at /opt/nordic/ncs/v2.1.0/nrf/cmake/multi_image.cmake:409 (message):
  CMake generation for rpc_host failed, aborting.  Command: 1
Call Stack (most recent call first):
  /opt/nordic/ncs/v2.1.0/nrf/cmake/multi_image.cmake:150 (add_child_image_from_source)
  /opt/nordic/ncs/v2.1.0/nrf/samples/CMakeLists.txt:151 (add_child_image)


-- Configuring incomplete, errors occurred!&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/389667?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 14:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eadf82b7-1bf4-4e46-86ad-5351c52e363f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it possible to install Python v 3.9.6 on the host to see it can help or not?&amp;nbsp;&lt;/p&gt;
[quote user=""] &amp;quot;Found Python3: ...&amp;quot; prompt, where the parent image showed the path to the version of Python in the installed NCS toolchain and the child image showed the path to the host version of Python. [/quote]
&lt;p&gt;I would like to see the log when it stop building the project regarding this part.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/389521?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 07:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bf08e03-0a12-4ab0-b980-11fbc98a0a69</guid><dc:creator>nkost</dc:creator><description>&lt;p&gt;NCS was installed using the Toolchain Manager.&lt;/p&gt;
&lt;p&gt;The Python version of the host is 3.10.5, while the Python version of the toolchain is 3.9.6. I suppose the version itself is not the problem, but the installed packages.&lt;/p&gt;
&lt;p&gt;I could install all Python dependencies on my host Python environment, but IMO that would not solve the root of the problem. The problem is that the build process of the parent image uses the toolchain&amp;#39;s Python environment (as it should be), while the child image detects the one of the host.&lt;/p&gt;
&lt;p&gt;Which log would you like to have a look at?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/389463?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 15:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67217073-6cec-47c3-8866-aa70f9926938</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is the python version on the Mac host? Could you upload the complete log? Do you install NCS by Toolchain or manually?&amp;nbsp;&amp;nbsp;Have a look&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/gs_recommended_versions.html#id4"&gt;Required Python dependencies&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/389426?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 13:18:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc1d0181-ace9-4ef4-8bf4-71aca4a0ae4a</guid><dc:creator>nkost</dc:creator><description>&lt;p&gt;Unfortunately, this doesn&amp;#39;t work with the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/samples/bluetooth/peripheral_uart/README.html#peripheral-uart"&gt;Bluetooth: Peripheral UART&lt;/a&gt; sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Multicore application configuration problem</title><link>https://devzone.nordicsemi.com/thread/389252?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 15:30:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88a5e5bf-bc69-4be2-a332-ddd0ec76c39d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Good to know you fix the issue. I think that is a good solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>