mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-29 15:06:01 +00:00
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>
38 lines
715 B
CMake
38 lines
715 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(CONFIG_USB_DEVICE_STACK)
|
|
zephyr_sources(
|
|
usb_device.c
|
|
usb_descriptor.c
|
|
)
|
|
|
|
add_subdirectory(class)
|
|
endif()
|
|
|
|
if(CONFIG_USB_DEVICE_BOS)
|
|
zephyr_sources(
|
|
bos.c
|
|
)
|
|
endif()
|
|
|
|
if(CONFIG_USB_DEVICE_OS_DESC)
|
|
zephyr_sources(
|
|
os_desc.c
|
|
)
|
|
endif()
|
|
|
|
if(CONFIG_USB_DEVICE_VID EQUAL 0x2FE3)
|
|
message(WARNING
|
|
"CONFIG_USB_DEVICE_VID has default value 0x2FE3.
|
|
This value is only for testing and MUST be configured for USB products."
|
|
)
|
|
|
|
if(CONFIG_USB_DEVICE_PID EQUAL 0x100)
|
|
message(WARNING
|
|
"CONFIG_USB_DEVICE_PID has default value 0x100.
|
|
This value is only for testing and MUST be configured for USB products."
|
|
)
|
|
endif()
|
|
|
|
endif()
|