766a5ea574
Add UDC driver for IT82xx2 SoC. This commit passes tests with 1. samples/subsys/usb/cdc_acm/ 2. samples/subsys/usb/console/ 3. The extend endpoint test with CDC ACM tool 4. USB suspend/resume detection Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
16 lines
637 B
CMake
16 lines
637 B
CMake
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(udc_common.c)
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers/usb/common/)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_UDC_DWC2 udc_dwc2.c)
|
|
zephyr_library_sources_ifdef(CONFIG_UDC_NRF udc_nrf.c)
|
|
zephyr_library_sources_ifdef(CONFIG_UDC_KINETIS udc_kinetis.c)
|
|
zephyr_library_sources_ifdef(CONFIG_UDC_SKELETON udc_skeleton.c)
|
|
zephyr_library_sources_ifdef(CONFIG_UDC_VIRTUAL udc_virtual.c)
|
|
zephyr_library_sources_ifdef(CONFIG_UDC_STM32 udc_stm32.c)
|
|
zephyr_library_sources_ifdef(CONFIG_UDC_IT82XX2 udc_it82xx2.c)
|