<?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: about the sample &amp;#39;IPC Service&amp;#39; build</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106386/nrf5340-about-the-sample-ipc-service-build</link><description>Hi Support team, 
 I can run the sample &amp;#39; IPC service &amp;#39; successfully with the default build, which can print the bidirectional throughput on consoles of the app-core and net-core. But when I want to try the unidirectional throughout from app-core to net</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 10 Dec 2023 18:08:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106386/nrf5340-about-the-sample-ipc-service-build" /><item><title>RE: nRF5340: about the sample 'IPC Service' build</title><link>https://devzone.nordicsemi.com/thread/459617?ContentTypeID=1</link><pubDate>Sun, 10 Dec 2023 18:08:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc11461b-dd15-4a45-a5df-bd4313c3c5f7</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;My overlay was put in the project folder, it&amp;#39;s strange that the build system can not find it:&lt;/p&gt;
&lt;p&gt;(In the folder &amp;#39;boards&amp;#39;, only have .conf files, without nrf5340dk_nrf5340_cpuapp.overlay here. According to the rule of &lt;span&gt;device tree precedence, the build system should go to the project folder to find the icmsg.overlay&lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:294px;max-width:187px;" alt=" " height="294" src="https://devzone.nordicsemi.com/resized-image/__size/374x588/__key/communityserver-discussions-components-files/4/1614.png" width="187" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: about the sample 'IPC Service' build</title><link>https://devzone.nordicsemi.com/thread/459227?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 15:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbc720f5-ed6c-43e7-842c-1f9a51955b94</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="Yanpengwu"]In addition, I&amp;#39;m still confused about RPMSG/ICMSG, why in the configuration of RPMSG has &amp;#39;CONFIG_OPENAMP=y[/quote]
&lt;p&gt;I think it is just a mistake. I removed openamp in prj.conf for RPMSG and the project still builds without openamp.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Something is wrong with your setup.&lt;/p&gt;
&lt;p&gt;Mine says in the log&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: icmsg.overlay&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and your says in the log&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: .overlay
&amp;lt;command-line&amp;gt;: fatal error: .overlay: No such file or directory&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Where is the build finding .overlay in your build?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: about the sample 'IPC Service' build</title><link>https://devzone.nordicsemi.com/thread/459207?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 14:18:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff08ec01-9faf-4844-b57b-1ac881144301</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;Thank you for the reply.&lt;br /&gt;I followed your suggestion, deleted the build directory, and did the pristine build with the below command in the &amp;#39;nRF Connect&amp;#39; terminal in VS code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build --build-dir c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service --pristine --board nrf5340dk_nrf5340_cpuapp --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/prj_icmsg.conf -DEXTRA_CONF_FILE=overlay-cpuapp-sending.conf -DBOARD_ROOT=c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But the same error occurs:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PS C:\ncs\v2.5.0\nrf\samples\ipc\ipc_service&amp;gt; 
PS C:\ncs\v2.5.0\nrf\samples\ipc\ipc_service&amp;gt; 
PS C:\ncs\v2.5.0\nrf\samples\ipc\ipc_service&amp;gt; west build --build-dir c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service --pristine --board nrf5340dk_nrf5340_cpuapp --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/prj_icmsg.conf -DEXTRA_CONF_FILE=overlay-cpuapp-sending.conf -DBOARD_ROOT=c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service
-- CMake version: 3.20.5
-- Found Python3: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe (found suitable version &amp;quot;3.8.2&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.5.0/zephyr/.cache
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr)
-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
CMake Warning at C:/ncs/v2.5.0/zephyr/cmake/modules/boards.cmake:92 (message):
  BOARD_ROOT element without a &amp;#39;boards&amp;#39; subdirectory:

  c:

  Hints:

    - if your board directory is &amp;#39;/foo/bar/boards/&amp;lt;ARCH&amp;gt;/my_board&amp;#39; then add &amp;#39;/foo/bar&amp;#39; to BOARD_ROOT, not the entire board directory
    - if in doubt, use absolute paths
Call Stack (most recent call first):
  C:/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
  C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:27 (find_package)


-- Board: nrf5340dk_nrf5340_cpuapp
-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/c57af46cb7/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: .overlay
&amp;lt;command-line&amp;gt;: fatal error: .overlay: No such file or directory
compilation terminated.
CMake Error at C:/ncs/v2.5.0/zephyr/cmake/modules/extensions.cmake:3885 (message):
  failed to preprocess devicetree files (error code 1):
  C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts;.overlay
Call Stack (most recent call first):
  C:/ncs/v2.5.0/zephyr/cmake/modules/dts.cmake:226 (zephyr_dt_preprocess)
  C:/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
  C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:27 (find_package)


-- Configuring incomplete, errors occurred!
←[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe &amp;#39;-Bc:\ncs\v2.5.0\nrf\samples\ipc\ipc_service\build&amp;#39; -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=c: /ncs/v2.5.0/nrf/samples/ipc/ipc_service/prj_icmsg.conf -DEXTRA_CONF_FILE=overlay-cpuapp-sending .conf -DBOARD_ROOT=c: /ncs/v2.5.0/nrf/samples/ipc/ipc_service &amp;#39;-Sc:\ncs\v2.5.0\nrf\samples\ipc\ipc_service&amp;#39;
←[0m
PS C:\ncs\v2.5.0\nrf\samples\ipc\ipc_service&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In addition, I&amp;#39;m still confused about RPMSG/ICMSG, why in the configuration of RPMSG has &amp;#39;CONFIG_OPENAMP=y&lt;br /&gt;CONFIG_OPENAMP_SLAVE=n // or CONFIG_OPENAMP_MASTER=n&amp;#39;, but RPMSG does not have these two items? Thank you very much.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Yanpeng Wu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: about the sample 'IPC Service' build</title><link>https://devzone.nordicsemi.com/thread/459180?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 12:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c095c0ad-003a-40dc-8a50-563b74f55591</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;IPC is the service native from Zephyr RTOS and OPENAMP is on the high level. For RPMSG and OPENAMP they still need to use IPC.&lt;/p&gt;
&lt;p&gt;Regarding the build errors, I recommend you to do a prestine build with the configurations you suggested. I was able to see the error you mentioned when I built the bidirectional sample first and changed the command to build it with uni directional. It failed. After removing the build directory and doing the prestine build again, it worked. Please give it a try.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
Building ipc_service
west build --build-dir c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service --pristine --board nrf5340dk_nrf5340_cpuapp --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/prj_icmsg.conf -DEXTRA_CONF_FILE=overlay-cpuapp-sending.conf -DBOARD_ROOT=c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service
-- CMake version: 3.20.5
-- Found Python3: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe (found suitable version &amp;quot;3.8.2&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.5.0/zephyr/.cache
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr)
-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpuapp
-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/c57af46cb7/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: icmsg.overlay
-- Generated zephyr.dts: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/zephyr/dts.cmake
Parsing C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/Kconfig
Loaded configuration &amp;#39;C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/prj_icmsg.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/boards/nrf5340dk_nrf5340_cpuapp_icmsg.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/overlay-cpuapp-sending.conf&amp;#39;
Configuration saved to &amp;#39;C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/zephyr/include/generated/autoconf.h&amp;#39;
-- Found GnuLd: c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;) 
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe

=== child image remote - remote begin ===
loading initial cache file C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/remote/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/remote
-- CMake version: 3.20.5
-- Found Python3: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe (found suitable version &amp;quot;3.8.2&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.5.0/zephyr/.cache
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr)
-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpunet
-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/c57af46cb7/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
-- Found devicetree overlay: icmsg.overlay
-- Generated zephyr.dts: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/remote/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/remote/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/remote/zephyr/dts.cmake
Parsing C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/remote/Kconfig
Loaded configuration &amp;#39;C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig&amp;#39;
Merged configuration &amp;#39;c:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/prj_icmsg.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.5.0/nrf/subsys/partition_manager/partition_manager_enabled.conf&amp;#39;
Configuration saved to &amp;#39;C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/remote/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/remote/zephyr/include/generated/autoconf.h&amp;#39;
-- Found GnuLd: c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;) 
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build/remote
=== child image remote - remote end ===

Dropping partition &amp;#39;rpmsg_nrf53_sram&amp;#39; since its size is 0.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ncs/v2.5.0/nrf/samples/ipc/ipc_service/build
-- west build: building application
[2/152] Generating include/generated/version.h
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr), build: v3.4.99-ncs1
[150/152] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       38000 B       256 KB     14.50%
             RAM:       13052 B        64 KB     19.92%
           SRAM1:          0 GB        64 KB      0.00%
        IDT_LIST:          0 GB         2 KB      0.00%
[7/166] Generating include/generated/version.h
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr), build: v3.4.99-ncs1
[161/166] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used

           FLASH:       41232 B         1 MB      3.93%

             RAM:       15172 B       512 KB      2.89%

        IDT_LIST:          0 GB         2 KB      0.00%

[166/166] Generating zephyr/merged_domains.hex
 *  Terminal will be reused by tasks, press any key to close it. &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>