mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add features for cramium target
This commit is contained in:
parent
b2a8d0e7f4
commit
123ff3ed66
1 changed files with 2 additions and 4 deletions
|
|
@ -491,13 +491,11 @@ 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", "usb-device-xous"]
|
||||
.to_vec();
|
||||
*/
|
||||
// minimal config for USB debugging
|
||||
let cramium_swap_pkgs = ["usb-device-xous"].to_vec(); // , "cram-console"
|
||||
// let cramium_swap_pkgs = ["usb-device-xous"].to_vec(); // , "cram-console"
|
||||
if !builder.is_swap_set() {
|
||||
builder.set_swap(0, 4 * 1024 * 1024);
|
||||
}
|
||||
|
|
@ -521,7 +519,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
builder.add_feature("quantum-timer");
|
||||
builder.add_feature("auto-trng"); // automatically initialize TRNG tester inside USB stack
|
||||
// builder.add_kernel_feature("v2p");
|
||||
// builder.add_feature("mass-storage");
|
||||
builder.add_feature("mass-storage");
|
||||
match task.as_deref() {
|
||||
Some("cramium-fpga") => builder.target_cramium_fpga(),
|
||||
Some("cramium-soc") => builder.target_cramium_soc(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue