LED array indication while dfu process in MCU boot

I am working on a project where my hardware includes an array of LEDs. I want to run an LED pattern on the array during the DFU process. I have tried to find a solution for this and found that there is an MCUboot indication LED macro available in Zephyr. However, I am unsure how to implement this on an array of LEDs.

Parents
  • Hello,

    First, you need to define the GPIOs for the LEDs in the Device Tree Source (DTS) file or create an overlay file that specifies the dedicated GPIOs for your LED array. Next, modify the MCUBoot bootloader code to handle the array of LEDs. Customize the MCUBoot source code (located at `bootloader\mcuboot\boot\zephyr\main`) to loop through and toggle the LEDs during the indication phase.

    Kind regards,

    Abhijith

Reply
  • Hello,

    First, you need to define the GPIOs for the LEDs in the Device Tree Source (DTS) file or create an overlay file that specifies the dedicated GPIOs for your LED array. Next, modify the MCUBoot bootloader code to handle the array of LEDs. Customize the MCUBoot source code (located at `bootloader\mcuboot\boot\zephyr\main`) to loop through and toggle the LEDs during the indication phase.

    Kind regards,

    Abhijith

Children
Related