Skip to content

boot: zephyr: unify USB DFU entrance config with serial recovery#2761

Open
benner wants to merge 1 commit into
mcu-tools:mainfrom
benner:refactor/usb-dfu-split-entrance-modes
Open

boot: zephyr: unify USB DFU entrance config with serial recovery#2761
benner wants to merge 1 commit into
mcu-tools:mainfrom
benner:refactor/usb-dfu-split-entrance-modes

Conversation

@benner

@benner benner commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

USB DFU was the odd one out: a mutually-exclusive choice (NO/WAIT/GPIO) whose options each repeated the same five USB stack selects. Replace it with a menuconfig parent that holds those selects once and independent WAIT/GPIO entrance bools that can be combined.

Enabling USB DFU now requires CONFIG_BOOT_USB_DFU=y alongside an entrance method, and CONFIG_BOOT_USB_DFU_NO is removed.

USB DFU was the odd one out: a mutually-exclusive choice (NO/WAIT/GPIO)
whose options each repeated the same five USB stack selects. Replace it
with a menuconfig parent that holds those selects once and independent
WAIT/GPIO entrance bools that can be combined.

Enabling USB DFU now requires CONFIG_BOOT_USB_DFU=y alongside an entrance
method, and CONFIG_BOOT_USB_DFU_NO is removed.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
@benner

benner commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Preparation for better #2751

@benner
benner marked this pull request as ready for review June 15, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant