<?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 build problems ...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89836/mcuboot-build-problems</link><description>I am working on some teching modules covering MCUBoot and DFU ... and trying to get the 
 basic examples built for an nRF52840 DK board ... and am running into an error along the lines of 
 peripheral_secure:9: error: couldn&amp;#39;t parse &amp;#39;depends on $(peripheral_depends</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Jul 2022 11:31:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89836/mcuboot-build-problems" /><item><title>RE: MCUBoot build problems ...</title><link>https://devzone.nordicsemi.com/thread/376401?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2022 11:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4ca87eb-7bcd-45e5-a64d-f873fbefee41</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The correct way to add MCUboot to your application using the nRF Connect SDK, is to add it as a child image (see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/ug_multi_image.html"&gt;Multi image builds&lt;/a&gt;). That can be done by building for example zephyr/samples/hello_world (not bootloader\mcuboot\samples\zephyr\hello-world) with CONFIG_BOOTLOADER_MCUBOOT=y added to zephyr/samples/hello_world/prj.conf.&lt;/p&gt;
&lt;p&gt;That will add the &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v1.9.99-ncs1/boot/zephyr/main.c"&gt;MCUboot sample&lt;/a&gt; as a child image, and all the mcuboot generated build files will be located in&amp;nbsp;&lt;span&gt;zephyr/samples/hello_world/build/mcuboot&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>