samples: Bluetooth: hci_usb: Disable USB_CDC_ACM

BlueZ btusb does not recognize hci_usb sample as Bluetooth
Controller when CDC ACM is enabled in the sample.

Refer to https://github.com/zephyrproject-rtos/zephyr/issues/29107

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2023-06-09 07:34:49 +05:30 committed by Anas Nashif
commit 5eb17bca21
3 changed files with 10 additions and 10 deletions

View file

@ -17,13 +17,13 @@ config USB_DEVICE_STACK
default y default y
config USB_CDC_ACM config USB_CDC_ACM
default y default SERIAL
config UART_CONSOLE config UART_CONSOLE
default CONSOLE default CONSOLE
config USB_DEVICE_INITIALIZE_AT_BOOT config USB_DEVICE_INITIALIZE_AT_BOOT
default y default y if CONSOLE
config SHELL_BACKEND_SERIAL_CHECK_DTR config SHELL_BACKEND_SERIAL_CHECK_DTR
default SHELL default SHELL

View file

@ -31,13 +31,13 @@ config USB_DEVICE_STACK
default y default y
config USB_CDC_ACM config USB_CDC_ACM
default y default SERIAL
config UART_CONSOLE config UART_CONSOLE
default CONSOLE default CONSOLE
config USB_DEVICE_INITIALIZE_AT_BOOT config USB_DEVICE_INITIALIZE_AT_BOOT
default y if !MCUBOOT default y if !MCUBOOT && CONSOLE
config SHELL_BACKEND_SERIAL_CHECK_DTR config SHELL_BACKEND_SERIAL_CHECK_DTR
default SHELL default SHELL

View file

@ -1,9 +1,3 @@
CONFIG_STDOUT_CONSOLE=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
CONFIG_BT=y CONFIG_BT=y
CONFIG_BT_HCI_RAW=y CONFIG_BT_HCI_RAW=y
@ -11,6 +5,12 @@ CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PID=0x000B CONFIG_USB_DEVICE_PID=0x000B
CONFIG_USB_DEVICE_BLUETOOTH=y CONFIG_USB_DEVICE_BLUETOOTH=y
CONFIG_USB_DEVICE_BLUETOOTH_VS_H4=n CONFIG_USB_DEVICE_BLUETOOTH_VS_H4=n
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
# We dont want any console or CDC ACM that may cause BlueZ to not detect hci_usb
CONFIG_SERIAL=n
CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since # Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control. # Host number of completed commands does not follow normal flow control.