aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-synopsys-otg
diff options
context:
space:
mode:
authorDániel Buga <[email protected]>2024-04-26 18:28:41 +0200
committerDániel Buga <[email protected]>2024-04-26 18:28:41 +0200
commit3dc54c8c445cd193110d5c18a695d18761bf04d9 (patch)
tree7d099e3417e1346950a2db2bbd5fdc0d17573e31 /embassy-usb-synopsys-otg
parent7ce2594eb78a0160928d6a39b778f552f034ddc3 (diff)
Add some metadata
Diffstat (limited to 'embassy-usb-synopsys-otg')
-rw-r--r--embassy-usb-synopsys-otg/Cargo.toml14
-rw-r--r--embassy-usb-synopsys-otg/README.md6
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 @@
2name = "embassy-usb-synopsys-otg" 2name = "embassy-usb-synopsys-otg"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2021" 4edition = "2021"
5description = "`embassy-usb-driver` implementation for Synopsys OTG USB controllers"
6keywords = ["embedded", "async", "usb", "hal", "embedded-hal"]
7categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
8repository = "https://github.com/embassy-rs/embassy"
9documentation = "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]
14src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-synopsys-otg-v$VERSION/embassy-usb-synopsys-otg/src/"
15src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-synopsys-otg/src/"
16features = ["defmt"]
17target = "thumbv7em-none-eabi"
18
8[dependencies] 19[dependencies]
9critical-section = "1.1" 20critical-section = "1.1"
10futures = { version = "0.3.17", default-features = false } 21futures = { version = "0.3.17", default-features = false }
11 22
12embassy-sync = { version = "0.5.0", path = "../embassy-sync" } 23embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
13embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" } 24embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" }
25
26defmt = { version = "0.3", optional = true }
27log = { 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
3This crate implements `embassy-usb-driver` for Synopsys USB OTG devices. If you wish to
4integrate this crate into your device's HAL, you will need to add device-specific initialization.
5For an example, check out the `embassy-stm32` crate.