mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
adjust xtask default features
- dabao now includes debug-proc by default - gdb-stub now passes to both kernel and user programs, so that uart switching can be achieved - print-panics activated in the kernel, so we can see the panic messages. They had disappeared for a while, and didn't notice.
This commit is contained in:
parent
86ab6b02c9
commit
284e639453
1 changed files with 4 additions and 0 deletions
|
|
@ -200,6 +200,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
let gdb_stub = env::args().filter(|x| x == "--gdb-stub").count() != 0;
|
||||
if gdb_stub {
|
||||
builder.add_kernel_feature("gdb-stub");
|
||||
builder.add_feature("gdb-stub");
|
||||
}
|
||||
if env::args().filter(|x| x == "--debug-loader").count() != 0 {
|
||||
builder.add_loader_feature("debug-print");
|
||||
|
|
@ -755,6 +756,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
builder.set_swap(0, bao1x_api::offsets::baosec::SWAP_RAM_LEN as _);
|
||||
}
|
||||
builder.add_loader_feature("swap");
|
||||
builder.add_kernel_feature("print-panics");
|
||||
builder.add_kernel_feature("swap");
|
||||
builder.add_feature("swap");
|
||||
|
||||
|
|
@ -914,6 +916,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
|
||||
builder.add_loader_feature("debug-print");
|
||||
builder.add_kernel_feature("v2p");
|
||||
builder.add_kernel_feature("print-panics");
|
||||
builder.add_kernel_feature("debug-proc");
|
||||
match task.as_deref() {
|
||||
Some("dabao") => builder.target_bao1x_soc(),
|
||||
_ => panic!("should be unreachable"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue