mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fixup dependencies to point to local fork versions
the local forks are needed to layer in high speed support, debug, and a couple of other minor improvements.
This commit is contained in:
parent
1b9c0c7143
commit
b99da45c38
1 changed files with 19 additions and 6 deletions
|
|
@ -33,10 +33,18 @@ frunk_core = "0.4.2"
|
||||||
# for debugging interrupts
|
# for debugging interrupts
|
||||||
riscv = { version = "0.5.6", package = "xous-riscv" }
|
riscv = { version = "0.5.6", package = "xous-riscv" }
|
||||||
|
|
||||||
[dependencies.usb-device]
|
usb-device = { git = "https://github.com/betrusted-io/usb-device.git", branch = "main", features = [
|
||||||
# see top level Cargo.toml for patch.crates-io directive to help with dev work
|
"log",
|
||||||
version = "0.2.8"
|
"control-buffer-256",
|
||||||
features = ["log"]
|
] }
|
||||||
|
|
||||||
|
# Serial support
|
||||||
|
usbd-serial = { git = "https://github.com/betrusted-io/usbd-serial.git", branch = "v0.1.1-betrusted", features = [
|
||||||
|
"max-packet-size-512",
|
||||||
|
] }
|
||||||
|
#usbd-serial = { path = "../../../usbd-serial", features = [
|
||||||
|
# "max-packet-size-512",
|
||||||
|
#] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
cramium-soc = []
|
cramium-soc = []
|
||||||
|
|
@ -55,9 +63,14 @@ renode = ["utralib/renode", "utralib/std"]
|
||||||
mass-storage = []
|
mass-storage = []
|
||||||
debug-print-usb = [
|
debug-print-usb = [
|
||||||
] # mutually exclusive feature with other crates that use the app UART
|
] # mutually exclusive feature with other crates that use the app UART
|
||||||
verbose-debug = []
|
verbose-debug = ["cramium-hal/verbose-debug"]
|
||||||
|
|
||||||
|
# mutually exclusive with kernel "print-panics"; will get a DUART allocation error on boot if kernel panics are on
|
||||||
|
# sticks the DUART into the deep stack; necessary because we can't have external dependencies in usbd-device
|
||||||
|
# and the DUART can be banged with simple hard-coded memory offsets.
|
||||||
|
usbd-debug = ["usb-device/baochip-debug"]
|
||||||
|
|
||||||
prototyping = [
|
prototyping = [
|
||||||
] # temporary feature-out for figuring out the code; remove this if you don't recognize it anymore
|
] # temporary feature-out for figuring out the code; remove this if you don't recognize it anymore
|
||||||
|
|
||||||
default = ["mass-storage"]
|
default = ["debug-print-usb"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue