ae074e81d4
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>
33 lines
1.2 KiB
CMake
33 lines
1.2 KiB
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
add_subdirectory(debug)
|
|
add_subdirectory(logging)
|
|
add_subdirectory_ifdef(CONFIG_LORAWAN lorawan)
|
|
add_subdirectory_ifdef(CONFIG_BT bluetooth)
|
|
add_subdirectory_ifdef(CONFIG_CONSOLE_SUBSYS console)
|
|
add_subdirectory_ifdef(CONFIG_SHELL shell)
|
|
add_subdirectory_ifdef(CONFIG_CPLUSPLUS cpp)
|
|
add_subdirectory_ifdef(CONFIG_DISK_ACCESS disk)
|
|
add_subdirectory_ifdef(CONFIG_EMUL emul)
|
|
add_subdirectory(fs)
|
|
add_subdirectory(ipc)
|
|
add_subdirectory(mgmt)
|
|
add_subdirectory_ifdef(CONFIG_MCUBOOT_IMG_MANAGER dfu)
|
|
add_subdirectory_ifdef(CONFIG_NET_BUF net)
|
|
add_subdirectory_ifdef(CONFIG_USB_DEVICE_STACK usb)
|
|
add_subdirectory(random)
|
|
add_subdirectory(storage)
|
|
add_subdirectory_ifdef(CONFIG_SETTINGS settings)
|
|
add_subdirectory(fb)
|
|
add_subdirectory(portability)
|
|
add_subdirectory(pm)
|
|
add_subdirectory(stats)
|
|
add_subdirectory(task_wdt)
|
|
add_subdirectory(testsuite)
|
|
add_subdirectory(tracing)
|
|
add_subdirectory_ifdef(CONFIG_JWT jwt)
|
|
add_subdirectory(canbus)
|
|
add_subdirectory_ifdef(CONFIG_TIMING_FUNCTIONS timing)
|
|
add_subdirectory_ifdef(CONFIG_DEMAND_PAGING demand_paging)
|
|
add_subdirectory(modbus)
|