<?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 use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120169/mcuboot-use-npm1300-rgb-led</link><description>In a custom board, my only leds are driven by the PMIC gpios. Is it possible to use them for mcuboot ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Apr 2025 06:58:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120169/mcuboot-use-npm1300-rgb-led" /><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/530126?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 06:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eec594d-e694-4ef8-848e-1bc7021e16a9</guid><dc:creator>papadkostas</dc:creator><description>&lt;p&gt;Thank you for confirmation, I understood the same initially but your input confused me.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/530041?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 14:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e914d69-4829-49c7-bb9f-843f4e282125</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I tried, and looking closer at this, I see that the MCUboot code has expects a &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/72bcf3861f526d4091e3c2bf44a52823da8e7a11/boot/zephyr/io.c#L75"&gt;DTS GPIO node&lt;/a&gt;, while the nPM1300 LED node is of the type &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/99bbeff21583f245dab9e56afe73c488d93e271f/boards/shields/npm1300_ek/npm1300_ek.overlay#L68"&gt;&amp;quot;nordic,npm1300-led&amp;quot;&lt;/a&gt;, meaning that it can not be slotted in automatically.&lt;/p&gt;
&lt;p&gt;If you want to use the nPM1300 LEDs from MCUboot, it would require source code changes to MCUboot, similar to how &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/1a7327efe0980f6f432bd2b9b7a8980216c1a981/samples/pmic/native/npm1300_one_button/src/main.c#L134"&gt;The nPM1300 one button sample&lt;/a&gt; sets up its LEDs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529794?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 12:22:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c106f65d-add8-4a22-852b-7e97a672b25b</guid><dc:creator>papadkostas</dc:creator><description>&lt;p&gt;No worries, thank you!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529731?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 09:58:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16d85242-c7ae-45b5-a246-6786fae1e39e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Yea, I can try myself. &lt;br /&gt;I am at home office today, and don&amp;#39;t got the nPM1300 kit here. But will be back in the office tomorrow, so I can try to see if I can do this some time this week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529500?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 12:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa24381a-780d-4444-b7de-eeccaaf82e8b</guid><dc:creator>papadkostas</dc:creator><description>&lt;p&gt;I was unable to get it working, the sample is not defining anywhere the leds on the device tree separately. I cannot set the allias for led0. Can you please try it your self?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529244?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 09:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21e0b3da-7a0a-45ed-9d8b-de224696a917</guid><dc:creator>papadkostas</dc:creator><description>&lt;p&gt;ah cool, thank you! will try out today&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529225?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 08:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af59da8d-e345-456d-bc28-7478bf2c1afc</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;MCUboot uses &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/main/boot/zephyr/io.c#L97"&gt;gpio_pin_set_dt&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;led_on uses &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/led/led_gpio.c#L39"&gt;gpio_pin_set_dt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529150?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 20:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15b6e82e-a40f-4c64-83b4-19c2338385ab</guid><dc:creator>papadkostas</dc:creator><description>&lt;p&gt;isn&amp;#39;t that mcuboot uses gpio api instead of led? how this supposed to work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529109?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 15:13:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad5cfd32-a59a-491a-8c75-157fba72ca76</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/pmic/native/npm1300_one_button/README.html"&gt;nPM1300 One-Button sample&lt;/a&gt; sets up the nPM1300 LED drivers in the application.&lt;br /&gt;Look at how this adds Kconfig options and DTS files for the LED driver. &lt;/p&gt;
&lt;p&gt;Then add those to MCUboot overlays, with &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/"&gt;sysbuild/mcuboot.conf and sysbuild/mcuboot.overlay&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With this, when MCUboot use the LED drivers to toggle the LED, this should automatically use nPM1300 drivers instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529076?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 13:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd1a80db-bbdd-484d-8ee0-ecea18a00be7</guid><dc:creator>papadkostas</dc:creator><description>&lt;p&gt;Yes. A sample dts would be appricated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot use NPM1300 rgb led</title><link>https://devzone.nordicsemi.com/thread/529030?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 11:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:991ce3f5-034f-4306-b8b4-22bcca94374d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So you want to know if MCUboot can control the nPM1300 &lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/leddrv/doc/frontpage.html"&gt;LED Drivers&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>