mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
placeholder stub for the future USB stack on cramium targets
The USB hardware stack is different enough that I think it doesn't make sense to wedge it into the existing USB driver. Instead it will be a separate driver that has the same `lib` level API calls, but a totally different implementation underneath. This allows us to make better architectural decisions that will make the USB stack more reliable because the hardware has some pretty strict latency requirements on responding to packets that can't be met with the previous abstraction.
This commit is contained in:
parent
2692d374c6
commit
c6871d58b1
2 changed files with 27 additions and 0 deletions
24
services/usb-cramium/Cargo.toml
Normal file
24
services/usb-cramium/Cargo.toml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[package]
|
||||
name = "usb-cramium"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
utralib = { version = "0.1.25", optional = true, default-features = false }
|
||||
xous-names = { package = "xous-api-names", version = "0.9.63" }
|
||||
ticktimer = { package = "xous-api-ticktimer", version = "0.9.61" }
|
||||
xous = "0.9.64"
|
||||
log-server = { package = "xous-api-log", version = "0.1.61" }
|
||||
log = "0.4.14"
|
||||
num-derive = { version = "0.3.3", default-features = false }
|
||||
num-traits = { version = "0.2.14", default-features = false }
|
||||
cramium-hal = { path = "../../libs/cramium-hal", features = ["std"] }
|
||||
cram-hal-service = { path = "../cram-hal-service" }
|
||||
xous-usb-hid = { git = "https://github.com/betrusted-io/xous-usb-hid.git", branch = "main" }
|
||||
ghostfat = "0.5.0"
|
||||
|
||||
locales = { path = "../../locales" }
|
||||
|
||||
[features]
|
||||
cramium-soc = ["utralib/cramium-soc"]
|
||||
default = []
|
||||
3
services/usb-cramium/src/main.rs
Normal file
3
services/usb-cramium/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Loading…
Reference in a new issue