Skip to content

Commit 143485e

Browse files
committed
zephyr: Add missing Kconfig dependencies for USB DFU
USB DFU depends on MULTITHREADING and STREAM_FLASH, and these should be explicitly selected. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 parent 2209688 commit 143485e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

boot/zephyr/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ config BOOT_USB_DFU_WAIT
419419
select USB_DEVICE_STACK
420420
select USB_DFU_CLASS
421421
select IMG_MANAGER
422+
select STREAM_FLASH
423+
select MULTITHREADING
422424
help
423425
If y, MCUboot waits for a prescribed duration of time to allow
424426
for USB DFU to be invoked. Please note DFU always updates the
@@ -429,6 +431,8 @@ config BOOT_USB_DFU_GPIO
429431
select USB_DEVICE_STACK
430432
select USB_DFU_CLASS
431433
select IMG_MANAGER
434+
select STREAM_FLASH
435+
select MULTITHREADING
432436
help
433437
If y, MCUboot uses GPIO to detect whether to invoke USB DFU.
434438

0 commit comments

Comments
 (0)