Skip to content

Commit c78d59d

Browse files
committedMar 27, 2023
[nrf fromlist] zephyr: Add missing Kconfig dependencies for USB DFU
USB DFU depends on MULTITHREADING and STREAM_FLASH, and these should be explicitly selected. Upstream PR: mcu-tools/mcuboot#1652 (cherry picked from commit 8b0debce3932dd1afbb1c509708bdde07f930b73) Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎boot/zephyr/Kconfig

+4
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ config BOOT_USB_DFU_WAIT
421421
select USB_DEVICE_STACK
422422
select USB_DFU_CLASS
423423
select IMG_MANAGER
424+
select STREAM_FLASH
425+
select MULTITHREADING
424426
help
425427
If y, MCUboot waits for a prescribed duration of time to allow
426428
for USB DFU to be invoked. Please note DFU always updates the
@@ -431,6 +433,8 @@ config BOOT_USB_DFU_GPIO
431433
select USB_DEVICE_STACK
432434
select USB_DFU_CLASS
433435
select IMG_MANAGER
436+
select STREAM_FLASH
437+
select MULTITHREADING
434438
help
435439
If y, MCUboot uses GPIO to detect whether to invoke USB DFU.
436440

0 commit comments

Comments
 (0)
Please sign in to comment.