mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
repair the minimal config for faster USB debugging
This commit is contained in:
parent
921199b429
commit
f0d1c65c2a
3 changed files with 6 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -4416,6 +4416,8 @@ dependencies = [
|
||||||
"usb-device",
|
"usb-device",
|
||||||
"usbd_bulk_only_transport 0.1.0",
|
"usbd_bulk_only_transport 0.1.0",
|
||||||
"usbd_mass_storage 0.1.0",
|
"usbd_mass_storage 0.1.0",
|
||||||
|
"xous 0.9.29 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"xous-api-ticktimer",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
|
||||||
|
|
@ -48,5 +48,6 @@ precursor = ["utralib/precursor"]
|
||||||
hosted = ["utralib/hosted"]
|
hosted = ["utralib/hosted"]
|
||||||
renode = ["utralib/renode"]
|
renode = ["utralib/renode"]
|
||||||
chain = []
|
chain = []
|
||||||
|
minimal = []
|
||||||
mjolnir = [] # the big hammer for debugging Spinal USB issues. A raw memory dump of config and descriptor space. Use with care.
|
mjolnir = [] # the big hammer for debugging Spinal USB issues. A raw memory dump of config and descriptor space. Use with care.
|
||||||
default = ["chain"]
|
default = ["chain"]
|
||||||
|
|
|
||||||
|
|
@ -327,9 +327,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
}
|
}
|
||||||
Some("usbdev") => {
|
Some("usbdev") => {
|
||||||
builder.target_precursor(PRECURSOR_SOC_VERSION)
|
builder.target_precursor(PRECURSOR_SOC_VERSION)
|
||||||
.add_services(&gfx_base_pkgs.into_iter().map(String::from).collect())
|
.add_services(&base_pkgs.into_iter().map(String::from).collect())
|
||||||
.add_services(&get_cratespecs());
|
.add_services(&get_cratespecs());
|
||||||
builder.add_service("usb-test");
|
//builder.add_service("usb-test");
|
||||||
|
builder.add_service("usb-device-xous");
|
||||||
}
|
}
|
||||||
Some("pddb-dev") => {
|
Some("pddb-dev") => {
|
||||||
builder.target_precursor(PRECURSOR_SOC_VERSION)
|
builder.target_precursor(PRECURSOR_SOC_VERSION)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue