Commit 891e700c authored by Johann Fischer's avatar Johann Fischer Committed by Chris Friedt
Browse files

tests: bluetooth: use new USB device stack

Use new USB device stack.

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent a89977a2
Loading
Loading
Loading
Loading
+3 −3
Changes for tests/bluetooth/shell/cdc_acm.conf: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="Zephyr BT Shell"
CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF=y
CONFIG_USB_DEVICE_STACK_NEXT=y
CONFIG_CDC_ACM_SERIAL_INITIALIZE_AT_BOOT=y
CONFIG_CDC_ACM_SERIAL_PRODUCT_STRING="Zephyr BT Shell"

CONFIG_UART_LINE_CTRL=y
CONFIG_SHELL_BACKEND_SERIAL_CHECK_DTR=y
+1 −1
Changes for tests/bluetooth/shell/src/main.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ int main(void)
	uint32_t dtr = 0;

	dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_shell_uart));
	if (!device_is_ready(dev) || usb_enable(NULL)) {
	if (!device_is_ready(dev)) {
		return 0;
	}

+1 −1
Changes for tests/bluetooth/shell/testcase.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ tests:
    extra_args:
      - EXTRA_CONF_FILE=cdc_acm.conf
      - DTC_OVERLAY_FILE="usb.overlay"
    depends_on: usb_device
    depends_on: usbd
    platform_allow:
      - native_sim
      - native_sim/native/64