<?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>mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102432/mcuboot_smp_custom_key-west-build-failed</link><description>I would like to build github.com/.../mcuboot_smp_custom_key . But it failed to build with the following messages. D:\ncs\v2.4.0\bootloader\mcuboot\samples\zephyr\mcuboot_smp_custom_key&amp;gt;west build -b nrf5340dk_nrf5340_cpuapp -- west build: generating a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Aug 2023 01:28:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102432/mcuboot_smp_custom_key-west-build-failed" /><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/443262?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 01:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1849891-11bd-4d94-81eb-054bdb777714</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/6136.prj.conf"&gt;devzone.nordicsemi.com/.../6136.prj.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/443261?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 01:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cc5bac0-95d2-469b-8962-930ccb4117a0</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your great support! I can build mcuboot_smp_ble_simultaneous successfully on ncs v.2.4.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/443123?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 08:47:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa03e6dc-068c-4944-aa10-5b96a876e8cc</guid><dc:creator>Sergey</dc:creator><description>&lt;p&gt;I was able to compile and run the &amp;quot;mcuboot_smp_ble_simultaneous&amp;quot; sample with these prj file settings in SDK 2.4.1:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Enable Bootloader
CONFIG_BOOTLOADER_MCUBOOT=y

# Enable SMP Server
CONFIG_MCUMGR=y
CONFIG_MCUMGR_TRANSPORT_UART=y
CONFIG_MCUMGR_GRP_IMG=y
# CONFIG_MCUMGR_SMP_UART=y
# CONFIG_MCUMGR_CMD_IMG_MGMT=y


# CONFIG_MCUMGR_TRANSPORT_UART dependencies
CONFIG_BASE64=y

# CONFIG_MCUMGR_GRP_IMG dependencies
CONFIG_FLASH=y
CONFIG_IMG_MANAGER=y

# CONFIG_IMG_MANAGER dependencies
CONFIG_STREAM_FLASH=y

# CONFIG_MCUMGR dependencies
CONFIG_NET_BUF=y
CONFIG_ZCBOR=y

# Required for CONFIG_IMG_MANAGER
CONFIG_FLASH_MAP=y


# Enable BLE transfer
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME=&amp;quot;Test SMP Server&amp;quot;
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUBOOT_USE_ALL_AVAILABLE_RAM=y
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP=y
CONFIG_MCUBOOT_IMAGE_VERSION=&amp;quot;2.3.0+0&amp;quot;
CONFIG_NRF53_UPGRADE_NETWORK_CORE=y
CONFIG_UPDATEABLE_IMAGE_NUMBER=2
CONFIG_ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS=y


CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But initially I was not able to compile it due to the long path to the project (I use Windows). It started compiling when I moved the whole folder to&amp;nbsp;C:\bt_smp_samples\bootloader_samples ...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So please check the path length, mayby it could help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/442277?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 11:42:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13f688c7-3d17-44e9-b977-06f8b81e6b8b</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please note that this is not an official sample built for the nRF Connect SDK. And this has not been tested under all the SDK versions of the nRF Connect SDK. I recommend you keep this as a reference for building your own application.&lt;/p&gt;
&lt;p&gt;I recommend you read &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/readme-ncs.html"&gt;Using mcuboot in the nRF Connect SDK&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/encrypted_images.html"&gt;Encrypted Images&lt;/a&gt; section, which explains how to implement the same thing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/440023?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 02:36:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35e66bae-5e2f-4b29-98df-286697e9f2de</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;I can&amp;#39;t do Insert--&amp;gt;Code--&amp;gt;Text successfully. So I attached log file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mcuboot_5F00_smp_5F00_custom_5F00_key_5F00_build_5F00_failed.zip"&gt;devzone.nordicsemi.com/.../mcuboot_5F00_smp_5F00_custom_5F00_key_5F00_build_5F00_failed.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/439926?ContentTypeID=1</link><pubDate>Fri, 04 Aug 2023 12:59:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4fe5f11-4592-46ad-a71d-44be857a4e14</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you please use the insert tab for pasting the log, as it is a bit hard to read through the logs when they are long?&lt;/p&gt;
&lt;p&gt;Insert--&amp;gt;Code--&amp;gt;Text&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1691153679211v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/439374?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2023 01:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d5d0ebb-1c1e-45b5-a0b7-20cd3c323cbd</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/4186.prj.conf"&gt;devzone.nordicsemi.com/.../4186.prj.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/439373?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2023 01:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b20e5d3-ffa5-4e8e-8e99-58d50223fae5</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for reply! I have changed &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4186.prj.conf"&gt;prj.conf&lt;/a&gt; as you suggested. But west build still failed.&lt;/p&gt;
&lt;p&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;br /&gt;CONFIG_MCUMGR=y&lt;br /&gt;CONFIG_MCUMGR_TRANSPORT_UART=y&lt;br /&gt;CONFIG_MCUMGR_GRP_IMG=y&lt;/p&gt;
&lt;p&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2304&lt;br /&gt;CONFIG_FLASH=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/439282?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 13:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbaa70b6-1ebd-461e-af57-5d76e68694bc</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I think this repository is based on NCS V2.3.0 and haven&amp;#39;t tested it for NCS 2.4.0 and above. Some of the Kconfig names have been changed with Zephyr V3.3.&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/zephyr/releases/release-notes-3.3.html#libraries-subsystems:~:text=MCUmgr%20Kconfig%20option%20names%20have%20been%20standardised.%20Script%20scripts/utils/migrate_mcumgr_kconfigs.py%20has%20been%20provided%20to%20make%20transition%20to%20new%20Kconfig%20options%20easier.%20Below%20table%20provides%20information%20on%20old%20names%20and%20new%20equivalents%3A"&gt; See the details here.&lt;/a&gt; For example, see the screenshot below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1690895382986v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please update your prj.config file like below and see whether it&amp;#39;s building fine or not.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1690895552052v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot_smp_custom_key west build failed</title><link>https://devzone.nordicsemi.com/thread/439143?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 01:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11604257-a14c-495b-9977-8d58d0ae7c38</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/8546.mcuboot_5F00_smp_5F00_custom_5F00_key.zip"&gt;devzone.nordicsemi.com/.../8546.mcuboot_5F00_smp_5F00_custom_5F00_key.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>