This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
f8d2226d58
zephyr
/
drivers
/
usb
/
CMakeLists.txt
4 lines
95 B
CMake
Raw
Normal View
History
Unescape
Escape
license: cleanup: add SPDX Apache-2.0 license identifier Update the files which contain no license information with the 'Apache-2.0' SPDX license identifier. Many source files in the tree are missing licensing information, which makes it harder for compliance tools to determine the correct license. By default all files without license information are under the default license of Zephyr, which is Apache version 2. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-04-06 21:08:09 +08:00
# SPDX-License-Identifier: Apache-2.0
usb: remove Kconfig option CONFIG_USB The USB configuration option is actually a global switch to enable USB drivers in general, but currently only the device controller drivers are meant. USB device controller drivers also have USB_DEVICE_DRIVER option. Thus the option USB is actually redundant and can be replaced by the self-explanatory option USB_DEVICE_DRIVER. The name USB itself is not unique and should not be used as an configuration option. With these changes the option USB_DEVICE_DRIVER generally enables USB device controller drivers. The option USB_DEVICE_STACK enables USB device support. It is sufficient to enable only option USB_DEVICE_STACK because it selects USB_DEVICE_DRIVER. CONFIG_USB Kconfig option is temporary added to subsys/usb/Kconfig. This is necessary to pass CI and will be removed again when the USB configuration has been adapted in modules. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-06-30 00:48:30 +08:00
add_subdirectory_ifdef
(
CONFIG_USB_DEVICE_DRIVER
device
)