mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
add explicit build flags to swap target
This commit is contained in:
parent
7547d7c952
commit
42063c222e
1 changed files with 4 additions and 0 deletions
|
|
@ -247,7 +247,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
builder.set_swap(0x4080_0000, 8 * 1024 * 1024);
|
builder.set_swap(0x4080_0000, 8 * 1024 * 1024);
|
||||||
}
|
}
|
||||||
builder.target_renode();
|
builder.target_renode();
|
||||||
|
// builder.target_cramium_soc();
|
||||||
builder.add_loader_feature("debug-print");
|
builder.add_loader_feature("debug-print");
|
||||||
|
builder.add_loader_feature("swap");
|
||||||
|
builder.add_kernel_feature("swap");
|
||||||
|
builder.add_kernel_feature("debug-swap");
|
||||||
|
|
||||||
// It is important that this is the first service added, because the swapper *must* be in PID 2
|
// It is important that this is the first service added, because the swapper *must* be in PID 2
|
||||||
builder.add_service("xous-swapper", LoaderRegion::Ram);
|
builder.add_service("xous-swapper", LoaderRegion::Ram);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue