<?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>error: &amp;#39;PM_mcuboot_secondary_ID&amp;#39; undeclared</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117841/error-pm_mcuboot_secondary_id-undeclared</link><description>I want to do BLE FOTA with my customborad, so I have added some configs of FOTA to my developping project. 
 those configs are referenced ”DevAcademy” Exercise 3 - FOTA over Bluetooth Low Energy - Nordic Developer Academy . 
 But this error has happened</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Jan 2025 01:47:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117841/error-pm_mcuboot_secondary_id-undeclared" /><item><title>RE: error: 'PM_mcuboot_secondary_ID' undeclared</title><link>https://devzone.nordicsemi.com/thread/517822?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2025 01:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86b7d44a-afa5-4d7f-95c0-b7398e45cae1</guid><dc:creator>yama789</dc:creator><description>&lt;p&gt;hello, andreas&lt;br /&gt;&lt;br /&gt;this issue is solved. thank you for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: 'PM_mcuboot_secondary_ID' undeclared</title><link>https://devzone.nordicsemi.com/thread/517504?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 14:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4b39195-b650-4872-947f-239eb3d2f307</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you verify what version of the SDK you&amp;#39;re using? The course is only available for NCS v2.6.2 – v2.5.2, so if it is for 2.7.0 or newer there might be some conflicts with the difference in the build system.&lt;/p&gt;
&lt;p&gt;The second item is that in 8.1 for NCS&amp;nbsp;v2.6.2 – v2.5.2 it is stated that you need to place the chosen external flash in both app.overlay and in your child_image/mcuboot.overlay. Could you verify if you&amp;#39;ve added it to both of these files, or just in your app.overlay?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1736344898429v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Could you share your prj.conf? The secondary partition is only placed automatically on the external flash for certain configurations. If you don&amp;#39;t have the right configuration, you will need the following configuration (described here&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/config_and_build/bootloaders/bootloader_external_flash.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/config_and_build/bootloaders/bootloader_external_flash.html&lt;/a&gt;):&amp;nbsp;&lt;em&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/kconfig/index.html#CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY"&gt;&lt;code&gt;&lt;span&gt;CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;=y&lt;/em&gt;&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>