File tree Expand file tree Collapse file tree 4 files changed +1489
-0
lines changed Expand file tree Collapse file tree 4 files changed +1489
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ zephyr_library()
66zephyr_library_sources(udc_common.c)
77zephyr_library_include_directories(${ZEPHYR_BASE} /drivers/usb/common/)
88
9+ zephyr_library_sources_ifdef(CONFIG_UDC_BFLB_BL61X udc_bflb_bl61x.c)
910zephyr_library_sources_ifdef(CONFIG_UDC_DWC2 udc_dwc2.c)
1011zephyr_library_sources_ifdef(CONFIG_UDC_NRF udc_nrf.c)
1112zephyr_library_sources_ifdef(CONFIG_UDC_KINETIS udc_kinetis.c)
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ module = UDC_DRIVER
6969module-str = usb drv
7070source "subsys/logging/Kconfig.template.log_config"
7171
72+ source "drivers/usb/udc/Kconfig.bflb"
7273source "drivers/usb/udc/Kconfig.dwc2"
7374source "drivers/usb/udc/Kconfig.nrf"
7475source "drivers/usb/udc/Kconfig.kinetis"
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2024-2025 MASSDRIVER EI (massdriver.space)
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ config UDC_BFLB_BL61X
5+ bool "BL61x USB controller device driver"
6+ select UDC_DRIVER_HAS_HIGH_SPEED_SUPPORT
7+ imply UDC_WORKQUEUE
8+ default y
9+ depends on DT_HAS_BFLB_BL61X_USB_ENABLED
10+ help
11+ Bouffalolab BL61x USB controller device driver
12+
13+ if UDC_BFLB_BL61X
14+
15+ config UDC_BFLB_BL61X_EVENT_COUNT
16+ int "Number or blocks in event slab"
17+ range 4 16
18+ default 8
19+ help
20+ Number of blocks in slab for internal endpoint events.
21+
22+ endif # UDC_BFLB_BL61X
You can’t perform that action at this time.
0 commit comments