-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: udc: add USB device controller driver skeleton
Add a USB device controller driver skeleton to use as a starting point for implementing a specific driver. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
- Loading branch information
1 parent
0724453
commit e1f89b0
Showing
5 changed files
with
447 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,23 @@ | ||
# Copyright (c) 2023 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config UDC_SKELETON | ||
bool "Skeleton for an USB device controller driver" | ||
default y | ||
depends on DT_HAS_ZEPHYR_UDC_SKELETON_ENABLED | ||
help | ||
Skeleton for an USB device controller driver. | ||
|
||
config UDC_SKELETON_STACK_SIZE | ||
int "UDC controller driver internal thread stack size" | ||
depends on UDC_SKELETON | ||
default 512 | ||
help | ||
Skeleton device controller driver internal thread stack size. | ||
|
||
config UDC_SKELETON_THREAD_PRIORITY | ||
int "Skeleton controller driver thread priority" | ||
depends on UDC_SKELETON | ||
default 8 | ||
help | ||
Skeleton device controller driver thread priority. |
Oops, something went wrong.