Skip to content

Commit

Permalink
tests: remove USB configuration option
Browse files Browse the repository at this point in the history
Remove USB configuration option, replace it where necessary
with USB_DEVICE_STACK.

Signed-off-by: Johann Fischer <[email protected]>
  • Loading branch information
jfischer-no authored and nashif committed Aug 3, 2021
1 parent 946964e commit 3240e0c
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion tests/bluetooth/shell/cdc_acm.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="Zephyr BT Shell"
CONFIG_USB_UART_CONSOLE=y
Expand Down
2 changes: 1 addition & 1 deletion tests/boards/intel_s1000_crb/cache/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CONFIG_LOG=y
CONFIG_USB=n
CONFIG_USB_DEVICE_STACK=n
2 changes: 1 addition & 1 deletion tests/boards/intel_s1000_crb/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endif()
if(CONFIG_I2S)
target_sources(app PRIVATE src/i2s_test.c)
endif()
if(CONFIG_USB)
if(CONFIG_USB_DEVICE_STACK)
target_sources(app PRIVATE src/test_hid.c)
endif()
if(CONFIG_SPI)
Expand Down
2 changes: 1 addition & 1 deletion tests/kernel/threads/no-multithreading/prj.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CONFIG_ZTEST=y
CONFIG_MULTITHREADING=n
CONFIG_BT=n
CONFIG_USB=n
CONFIG_USB_DEVICE_STACK=n
CONFIG_NETWORKING=n
CONFIG_ASSERT=n
CONFIG_SPIN_VALIDATE=n
1 change: 0 additions & 1 deletion tests/subsys/usb/bos/prj.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CONFIG_ZTEST=y
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_BOS=y
1 change: 0 additions & 1 deletion tests/subsys/usb/desc_sections/prj.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_ZTEST=y
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_COMPOSITE_DEVICE=n
CONFIG_USB_DEVICE_LOG_LEVEL_DBG=y
Expand Down
1 change: 0 additions & 1 deletion tests/subsys/usb/device/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ CONFIG_LOG=y
CONFIG_USB_DEVICE_LOG_LEVEL_DBG=y
CONFIG_USB_DRIVER_LOG_LEVEL_DBG=y

CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
1 change: 0 additions & 1 deletion tests/subsys/usb/os_desc/prj.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CONFIG_ZTEST=y
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_OS_DESC=y

0 comments on commit 3240e0c

Please sign in to comment.