Commit 35576c62 authored by Johann Fischer's avatar Johann Fischer Committed by Carles Cufí
Browse files

zephyr: remove Kconfig option CONFIG_USB



USB device support configuration is revised,
CONFIG_USB option is deprecated.
Only USB_DEVICE_STACK option should be used to
enable USB device support.

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent 62b78ff2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -364,7 +364,7 @@ config BOOT_USB_DFU_NO

config BOOT_USB_DFU_WAIT
	bool "Wait for a prescribed duration to see if USB DFU is invoked"
	select USB
	select USB_DEVICE_STACK
	select USB_DFU_CLASS
	select IMG_MANAGER
	help
@@ -374,7 +374,7 @@ config BOOT_USB_DFU_WAIT

config BOOT_USB_DFU_GPIO
	bool "Use GPIO to detect whether to trigger DFU mode"
	select USB
	select USB_DEVICE_STACK
	select USB_DFU_CLASS
	select IMG_MANAGER
	help
@@ -487,7 +487,6 @@ config BOOT_SERIAL_UART

config BOOT_SERIAL_CDC_ACM
	bool "CDC ACM"
	select USB
	select USB_DEVICE_STACK
	select USB_CDC_ACM

+0 −1
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ CONFIG_BOOT_SERIAL_DETECT_PIN=6
CONFIG_MULTITHREADING=y

# USB
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
CONFIG_USB_CDC_ACM=y