<?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>How to enable LED for MCUBOOT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93184/how-to-enable-led-for-mcuboot</link><description>nRF52840 
 NCS 1.9.1 
 I have successfully downloaded app_update.bin to flash and rebooted. MCUBOOT copies the new application correctly and it runs fine. 
 The boot process after the download takes about 60 seconds, so I would like my LED to light during</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Oct 2022 12:33:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93184/how-to-enable-led-for-mcuboot" /><item><title>RE: How to enable LED for MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/392382?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 12:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dda7f15-2cb6-4858-9a1e-54efdf8af954</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Maybe the &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v1.9.99-ncs2/boot/zephyr/Kconfig#L578"&gt;CONFIG_MCUBOOT_ACTION_HOOKS&lt;/a&gt; can be used for this? For example when the &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v1.9.99-ncs2/boot/bootutil/include/bootutil/mcuboot_status.h#L13"&gt;MCUBOOT_STATUS_STARTUP event&lt;/a&gt; happens, you can turn on an LED inside your custom&amp;nbsp;&lt;span&gt;mcuboot_status_change function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let me know if you have any issues implementing this, and I will make an attempt myself&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>