add latest xtask state

This commit is contained in:
bunnie 2024-06-11 23:19:14 +08:00
parent 9a37ecc2d3
commit 91806a2030

View file

@ -491,8 +491,13 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// are resident, non-swapable, but end up making the slow kernel burn process take longer.
let cramium_flash_pkgs =
["xous-ticktimer", "xous-log", "cram-hal-service", "xous-names", "graphics-server"].to_vec();
/*
let cramium_swap_pkgs =
["gam", "modals", "ime-plugin-shell", "ime-frontend", "cram-console"].to_vec();
["gam", "modals", "ime-plugin-shell", "ime-frontend", "cram-console", "usb-device-xous"]
.to_vec();
*/
// minimal config for USB debugging
let cramium_swap_pkgs = ["usb-device-xous", "cram-console"].to_vec();
if !builder.is_swap_set() {
builder.set_swap(0, 4 * 1024 * 1024);
}
@ -500,7 +505,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// builder.add_loader_feature("spim-test");
// builder.add_loader_feature("spi-alt-channel"); // this flag, when asserted, uses the J_QSPI
// builder.add_loader_feature("irq-test");
builder.add_loader_feature("usb-test");
// builder.add_loader_feature("usb-test");
// header. By default, we use JPC7_13 (J_QSPI does not work, for some reason; bit 3 is stuck
// high...)
builder.add_loader_feature("swap");