repair the minimal config for faster USB debugging

This commit is contained in:
bunnie 2023-01-11 01:58:15 +08:00
parent 921199b429
commit f0d1c65c2a
3 changed files with 6 additions and 2 deletions

2
Cargo.lock generated
View file

@ -4416,6 +4416,8 @@ dependencies = [
"usb-device",
"usbd_bulk_only_transport 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]]

View file

@ -48,5 +48,6 @@ precursor = ["utralib/precursor"]
hosted = ["utralib/hosted"]
renode = ["utralib/renode"]
chain = []
minimal = []
mjolnir = [] # the big hammer for debugging Spinal USB issues. A raw memory dump of config and descriptor space. Use with care.
default = ["chain"]

View file

@ -327,9 +327,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
Some("usbdev") => {
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());
builder.add_service("usb-test");
//builder.add_service("usb-test");
builder.add_service("usb-device-xous");
}
Some("pddb-dev") => {
builder.target_precursor(PRECURSOR_SOC_VERSION)