Skip to content

Commit

Permalink
[nrf fromlist] zephyr: Add missing Kconfig dependencies for USB DFU
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
de-nordic committed Mar 27, 2023
1 parent 2fea451 commit c78d59d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boot/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ config BOOT_USB_DFU_WAIT
select USB_DEVICE_STACK
select USB_DFU_CLASS
select IMG_MANAGER
select STREAM_FLASH
select MULTITHREADING
help
If y, MCUboot waits for a prescribed duration of time to allow
for USB DFU to be invoked. Please note DFU always updates the
Expand All @@ -431,6 +433,8 @@ config BOOT_USB_DFU_GPIO
select USB_DEVICE_STACK
select USB_DFU_CLASS
select IMG_MANAGER
select STREAM_FLASH
select MULTITHREADING
help
If y, MCUboot uses GPIO to detect whether to invoke USB DFU.

Expand Down

0 comments on commit c78d59d

Please sign in to comment.