How to enable LED for MCUBOOT

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 this time so the user knows something is running.

I included 

CONFIG_MCUBOOT_INDICATION_LED=y
in the proj.cnf for mcuboot, but I get this message during compilation:

warning: MCUBOOT_INDICATION_LED (defined at
D:\NordicSemi\v1.9.1\bootloader\mcuboot\boot\zephyr\Kconfig:505) was assigned the value 'y' but got
the value 'n'. Check these unsatisfied dependencies: MCUBOOT_SERIAL (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MCUBOOT_INDICATION_LED.html and/or

look up MCUBOOT_INDICATION_LED in the menuconfig/guiconfig interface. The Application Development
Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
might be helpful too.

If I enable the MCUBOOT_SERIAL, then I have to turn off the console, which I want.  I'm not trying to do serial recovery, just download and reboot.  The link referenced there goes nowhere, and I don't see why the LED should only be available for the serial recovery.

Is there a way to make mcuboot turn on the LED?

Mary

Related