<?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>undefined reference to `bootmode_set&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112867/undefined-reference-to-bootmode_set</link><description>hello 
 I am studying DFU with reference to the Academy. 
 Exercise 1 - DFU over UART - Nordic Developer Academy (nordicsemi.com) 
 SampleCode of Exercise1 use McuBoot and McuBoot use Button2 to enter Serial Recovery mode. 
 I want to enter Serial Recovery</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jul 2024 02:25:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112867/undefined-reference-to-bootmode_set" /><item><title>RE: undefined reference to `bootmode_set'</title><link>https://devzone.nordicsemi.com/thread/494256?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 02:25:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb573ec8-3381-42cd-abe9-8ae3fa73331b</guid><dc:creator>yama789</dc:creator><description>&lt;p&gt;Hello, Vidar Berg.&lt;br /&gt;&lt;br /&gt;I mistaked setting above CONFIG to some config files.&lt;br /&gt;Now, I can use tetention.&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `bootmode_set'</title><link>https://devzone.nordicsemi.com/thread/493390?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 11:48:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c3bd679-b4f2-4fe6-8c29-80918595589c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The retention system must also be enabled in the parent image for the&amp;nbsp;bootmode_set() function to become available to the app. Does it build if you add the following settings to your prj.conf file:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_RETENTION&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_RETAINED_MEM&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_RETAINED_MEM_ZEPHYR_RAM&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_RETENTION_BOOT_MODE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>