<?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>Code does not compile using the west command when using the BL5340 board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109895/code-does-not-compile-using-the-west-command-when-using-the-bl5340-board</link><description>Hi, 
 I am trying to build the HCI_USB program that is present in the /samples/bluetooth of the zephyr SDK. I am able to build it for the NRF5340DK board by using the following commnad: 
 
 west build -b nrf5340dk_nrf5340_cpuapp --pristine -- -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Apr 2024 06:05:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109895/code-does-not-compile-using-the-west-command-when-using-the-bl5340-board" /><item><title>RE: Code does not compile using the west command when using the BL5340 board</title><link>https://devzone.nordicsemi.com/thread/477926?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 06:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc775d1a-6c6c-4618-9e55-4648075e9d85</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;Yes, It was the MCUBoot partition size that was the issue, resizing it resolved it. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code does not compile using the west command when using the BL5340 board</title><link>https://devzone.nordicsemi.com/thread/477042?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 09:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cb7525b-4eb1-47ce-ad11-6576c1a68c7c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to increase MCUboot partition size, or decrease the space it uses.&lt;/p&gt;
&lt;p&gt;See explained &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-2-dfu-over-usb-adding-external-flash/"&gt;here&lt;/a&gt;: &lt;br /&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. Increase the partition for the MCUboot bootloader.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The partition for the MCUboot bootloader is not large enough for MCUboot with CDC ACM and USB drivers. This size is 0xC000 by default. To increase this, set &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/cc9e60c50caf1e44e0d0f08866f4c3bbdc1240ac/modules/mcuboot/boot/zephyr/Kconfig#L21"&gt;&lt;code&gt;CONFIG_PM_PARTITION_SIZE_MCUBOOT&lt;/code&gt;&lt;/a&gt; to 0x10000 in &lt;code&gt;child_image/mcuboot.conf&lt;/code&gt;. Or It is possible to make MCUboot take less space. See for example this samples &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf_desktop/configuration/nrf52833dk_nrf52833/child_image/mcuboot/prj_release.conf"&gt;child_image/mcuboot/prj_release.conf&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>