In a custom board, my only leds are driven by the PMIC gpios.
Is it possible to use them for mcuboot ?
In a custom board, my only leds are driven by the PMIC gpios.
Is it possible to use them for mcuboot ?
Yes. A sample dts would be appricated.
ah cool, thank you! will try out today
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?
Yea, I can try myself.
I am at home office today, and don'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.
No worries, thank you!!
I tried, and looking closer at this, I see that the MCUboot code has expects a DTS GPIO node, while the nPM1300 LED node is of the type "nordic,npm1300-led", meaning that it can not be slotted in automatically.
If you want to use the nPM1300 LEDs from MCUboot, it would require source code changes to MCUboot, similar to how The nPM1300 one button sample sets up its LEDs.
I tried, and looking closer at this, I see that the MCUboot code has expects a DTS GPIO node, while the nPM1300 LED node is of the type "nordic,npm1300-led", meaning that it can not be slotted in automatically.
If you want to use the nPM1300 LEDs from MCUboot, it would require source code changes to MCUboot, similar to how The nPM1300 one button sample sets up its LEDs.
Thank you for confirmation, I understood the same initially but your input confused me.