Skip to content

Commit 4427e4c

Browse files
pepe2kde-nordic
authored andcommitted
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: Piotr Dymacz <[email protected]>
1 parent 90b8f69 commit 4427e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/Kconfig.serial_recovery

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ config BOOT_SERIAL_ENCRYPT_EC256
156156

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

0 commit comments

Comments
 (0)