Commit 4427e4c9 authored by Piotr Dymacz's avatar Piotr Dymacz Committed by Dominik Ermel
Browse files

boot: zephyr: allow timeout based recovery with CDC ACM



This makes it possible to enable timeout (BOOT_SERIAL_WAIT_FOR_DFU) mode
for the serial recovery when using CDC ACM based serial device. This was
runtime tested on nRF52840-Dongle.

Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
parent 90b8f690
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ config BOOT_SERIAL_ENCRYPT_EC256

config BOOT_SERIAL_WAIT_FOR_DFU
	bool "Wait for a prescribed duration to see if DFU is invoked by receiving a mcumgr comand"
	depends on BOOT_SERIAL_UART
	depends on BOOT_SERIAL_UART || BOOT_SERIAL_CDC_ACM
	help
	  If y, MCUboot waits for a prescribed duration of time to allow
	  for DFU to be invoked. The serial recovery can be entered by receiving any