Add embassy-usb-ncm. Implements USBB CDC NCM (Ethernet over USB)

This commit is contained in:
Dario Nieuwenhuis
2022-04-23 05:24:38 +02:00
parent 50e1d257bd
commit d57fd87ba7
5 changed files with 1013 additions and 1 deletions

View File

@ -0,0 +1,19 @@
[package]
name = "embassy-usb-ncm"
version = "0.1.0"
edition = "2021"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-ncm-v$VERSION/embassy-usb-ncm/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-usb-ncm/src/"
features = ["defmt"]
flavors = [
{ name = "default", target = "thumbv7em-none-eabihf" },
]
[dependencies]
embassy = { version = "0.1.0", path = "../embassy" }
embassy-usb = { version = "0.1.0", path = "../embassy-usb" }
defmt = { version = "0.3", optional = true }
log = { version = "0.4.14", optional = true }