Commit 25852971 authored by Johann Fischer's avatar Johann Fischer Committed by David Brown
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>
Signed-off-by: default avatarAndrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
parent 01184bd0
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -355,7 +355,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
@@ -365,7 +365,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
@@ -478,7 +478,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