<?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>&amp;#39;PM_mcuboot_primary_ID&amp;#39; undeclared when trying to build USB DFU example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118346/pm_mcuboot_primary_id-undeclared-when-trying-to-build-usb-dfu-example</link><description>Hello, I&amp;#39;m trying to follow this example (Serial DFU) , on a nRF52840 custom board, but I&amp;#39;m getting the following error: 
 
 I couldn&amp;#39;t find any relevant information and also, the Exercise 2 of the nRF SDK Connect Intermediate Course is not available</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Mar 2025 13:57:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118346/pm_mcuboot_primary_id-undeclared-when-trying-to-build-usb-dfu-example" /><item><title>RE: 'PM_mcuboot_primary_ID' undeclared when trying to build USB DFU example</title><link>https://devzone.nordicsemi.com/thread/528421?ContentTypeID=1</link><pubDate>Fri, 21 Mar 2025 13:57:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6959d4b-e482-437e-ba60-2542c1f8b9f8</guid><dc:creator>DUC TUAN HOANG</dc:creator><description>&lt;p&gt;Hi, I got the same this issues when trying to build the sample USB dfu with ncs 2.9.0 and toolchain 2.9, how do you fix that?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'PM_mcuboot_primary_ID' undeclared when trying to build USB DFU example</title><link>https://devzone.nordicsemi.com/thread/523095?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 16:15:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68e33f66-155f-44ca-91fb-7892c005acb0</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Great! Glad to hear that :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Feel free to open new cases for new topics if you have any new questions or to reopen this for any related questions to this topic. For now I will mark it as a verified answer&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'PM_mcuboot_primary_ID' undeclared when trying to build USB DFU example</title><link>https://devzone.nordicsemi.com/thread/522949?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 23:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8159fcf-e4e4-441d-b7df-bc2fd5db35e5</guid><dc:creator>Kevyn Harder</dc:creator><description>&lt;p&gt;Thank you!&lt;br /&gt;The academy guide is being updated and I was able to get it working with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'PM_mcuboot_primary_ID' undeclared when trying to build USB DFU example</title><link>https://devzone.nordicsemi.com/thread/520215?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 15:09:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90232107-207a-4540-9877-5e5bb8746c85</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hello!&amp;nbsp;&lt;/p&gt;
[quote user=""]I&amp;#39;m trying to follow &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu#mcetoc_1h90kbduu3"&gt;this example (Serial DFU)&lt;/a&gt;, on a nRF52840 custom board,&amp;nbsp;but I&amp;#39;m getting the following error:[/quote]
&lt;p&gt;I would&amp;nbsp;&lt;em&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;strongly&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt; recommend that you don&amp;#39;t follow that guide unless you&amp;#39;re working with the SDK versions that are explicitly mentioned in this guide. It is several years old and a lot has changed both with partitioning and bootloader. I know it says &amp;quot;... and later versions&amp;quot; at some points in the guide and I&amp;#39;ve queried the team moderating the guides to change it to not refer to later versions.&lt;br /&gt;&lt;br /&gt;The academy guide is work in progress and scheduled to be updated in February 2025.&lt;br /&gt;&lt;br /&gt;However for now, you need to go through the documentation &amp;quot;manually&amp;quot;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/index.html&lt;/a&gt;&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_mcuboot_nsib.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_mcuboot_nsib.html&lt;/a&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_adding_sysbuild.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_adding_sysbuild.html&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;From here you can add the configurations that&amp;#39;s mentioned in the v2.6.2 steps of the academy page:&amp;nbsp;&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;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/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend that you use this sample as a starting point:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/zephyr/samples/sysbuild/with_mcuboot/README.html#with_mcuboot"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/zephyr/samples/sysbuild/with_mcuboot/README.html#with_mcuboot&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me know if this is enough to get you started&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>