zephyr/subsys/usb/device/class/dfu/CMakeLists.txt
Johann Fischer 6be45c2a18 usb: move USB device stack code to own directory
Until now the whole USB device stack code is located
in the top subsys/usb directory. Move it to own directory
in preparation for upcoming extension and rework of USB support.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2022-03-31 18:30:14 +02:00

12 lines
333 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_sources(usb_dfu.c)
if(CONFIG_USB_DEVICE_PID EQUAL CONFIG_USB_DEVICE_DFU_PID)
message(WARNING
"Run-Time and DFU Mode VID and PID are equal, which can lead to incorrect \
behavior on some operating systems; see DFU 1.1 Specification Ch. 2 for \
more details."
)
endif()