diff options
Diffstat (limited to 'embassy-usb-synopsys-otg')
| -rw-r--r-- | embassy-usb-synopsys-otg/Cargo.toml | 14 | ||||
| -rw-r--r-- | embassy-usb-synopsys-otg/README.md | 6 |
2 files changed, 19 insertions, 1 deletions
diff --git a/embassy-usb-synopsys-otg/Cargo.toml b/embassy-usb-synopsys-otg/Cargo.toml index 5693acc38..b0562627b 100644 --- a/embassy-usb-synopsys-otg/Cargo.toml +++ b/embassy-usb-synopsys-otg/Cargo.toml | |||
| @@ -2,12 +2,26 @@ | |||
| 2 | name = "embassy-usb-synopsys-otg" | 2 | name = "embassy-usb-synopsys-otg" |
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | edition = "2021" | 4 | edition = "2021" |
| 5 | description = "`embassy-usb-driver` implementation for Synopsys OTG USB controllers" | ||
| 6 | keywords = ["embedded", "async", "usb", "hal", "embedded-hal"] | ||
| 7 | categories = ["embedded", "hardware-support", "no-std", "asynchronous"] | ||
| 8 | repository = "https://github.com/embassy-rs/embassy" | ||
| 9 | documentation = "https://docs.embassy.dev/embassy-usb-synopsys-otg" | ||
| 5 | 10 | ||
| 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | 11 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 7 | 12 | ||
| 13 | [package.metadata.embassy_docs] | ||
| 14 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-synopsys-otg-v$VERSION/embassy-usb-synopsys-otg/src/" | ||
| 15 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-synopsys-otg/src/" | ||
| 16 | features = ["defmt"] | ||
| 17 | target = "thumbv7em-none-eabi" | ||
| 18 | |||
| 8 | [dependencies] | 19 | [dependencies] |
| 9 | critical-section = "1.1" | 20 | critical-section = "1.1" |
| 10 | futures = { version = "0.3.17", default-features = false } | 21 | futures = { version = "0.3.17", default-features = false } |
| 11 | 22 | ||
| 12 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } | 23 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } |
| 13 | embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" } | 24 | embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" } |
| 25 | |||
| 26 | defmt = { version = "0.3", optional = true } | ||
| 27 | log = { version = "0.4.14", optional = true } | ||
diff --git a/embassy-usb-synopsys-otg/README.md b/embassy-usb-synopsys-otg/README.md index c3f914896..fa8d5d6da 100644 --- a/embassy-usb-synopsys-otg/README.md +++ b/embassy-usb-synopsys-otg/README.md | |||
| @@ -1 +1,5 @@ | |||
| 1 | # Embassy USB driver for the Synopsys OTG core | 1 | # Embassy USB driver for the Synopsys USB OTG core |
| 2 | |||
| 3 | This crate implements `embassy-usb-driver` for Synopsys USB OTG devices. If you wish to | ||
| 4 | integrate this crate into your device's HAL, you will need to add device-specific initialization. | ||
| 5 | For an example, check out the `embassy-stm32` crate. | ||
