Skip to content

Commit 9212454

Browse files
committed
tests: bluetooth: use new USB device stack
Use new USB device stack. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
1 parent 6b556ae commit 9212454

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/bluetooth/shell/cdc_acm.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
CONFIG_USB_DEVICE_STACK=y
2-
CONFIG_USB_DEVICE_PRODUCT="Zephyr BT Shell"
3-
CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF=y
1+
CONFIG_USB_DEVICE_STACK_NEXT=y
2+
CONFIG_CDC_ACM_SERIAL_INITIALIZE_AT_BOOT=y
3+
CONFIG_CDC_ACM_SERIAL_PRODUCT_STRING="Zephyr BT Shell"
44

55
CONFIG_UART_LINE_CTRL=y
66
CONFIG_SHELL_BACKEND_SERIAL_CHECK_DTR=y

tests/bluetooth/shell/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int main(void)
128128
uint32_t dtr = 0;
129129

130130
dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_shell_uart));
131-
if (!device_is_ready(dev) || usb_enable(NULL)) {
131+
if (!device_is_ready(dev)) {
132132
return 0;
133133
}
134134

tests/bluetooth/shell/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tests:
4444
extra_args:
4545
- EXTRA_CONF_FILE=cdc_acm.conf
4646
- DTC_OVERLAY_FILE="usb.overlay"
47-
depends_on: usb_device
47+
depends_on: usbd
4848
platform_allow:
4949
- native_sim
5050
- native_sim/native/64

0 commit comments

Comments
 (0)