Skip to content
Commit 3942e9bf authored by Piotr Dymacz's avatar Piotr Dymacz Committed by Andrzej Puzdrowski
Browse files

boot_serial: fix serial recovery mode with timeout



If 'BOOT_SERIAL_WAIT_FOR_DFU' is selected, the CPU shouldn't enter idle
state, waiting for interrupt from the console because we expect booting
if no mcumgr command is received within a configured timeout (with the
'CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT').

Without this fix, when using 'BOOT_SERIAL_WAIT_FOR_DFU' the boot process
hangs forever, waiting for input from console.

Fixes: e3822f81 ("boot_serial: zephyr: Add optional timeout to enter serial recovery")
Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
parent 5130d1dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment