-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: usb: udc: add STM32 UDC driver
Add UDC driver for STM32 based MCU, relying on HAL/PCD. Signed-off-by: Loic Poulain <[email protected]>
- Loading branch information
Loic Poulain
committed
Jan 1, 2023
1 parent
217987f
commit 90f2f84
Showing
4 changed files
with
479 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) 2022 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config UDC_STM32 | ||
bool "STM32 USB device controller driver" | ||
imply UDC_WORKQUEUE | ||
select USE_STM32_LL_USB | ||
select USE_STM32_HAL_PCD | ||
select USE_STM32_HAL_PCD_EX | ||
default y | ||
help | ||
STM32 USB device controller driver. |
Oops, something went wrong.