Merge pull request #615 from betrusted-io/cram-dev

reconfigure xtask for better demo presentation
This commit is contained in:
bunnie 2025-01-20 15:39:06 +08:00 committed by GitHub
commit c73393398c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View file

@ -86,12 +86,12 @@ SECTIONS
. = ALIGN(4);
_edata = .;
} > REGION_DATA AT > REGION_RODATA
/*
.fonts : ALIGN(65536)
{
KEEP(*(.fontdata));
} > FONTS
*/
.bss (NOLOAD) :
{
_sbss = .;

View file

@ -583,8 +583,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// - bao-console is the serial debug console handler
// - [planned] pddb server
// - [planned] vault application
let bao_rram_pkgs = ["xous-ticktimer", "xous-log", "xous-names", "usb-cramium"].to_vec();
let bao_swap_pkgs = ["cram-hal-service", "bao-console"].to_vec(); /* "bao-video" */
let bao_rram_pkgs = ["xous-ticktimer", "xous-log", "xous-names" /* "usb-cramium" */].to_vec(); /* "usb-cramium" */
let bao_swap_pkgs = ["cram-hal-service", "bao-console", "bao-video"].to_vec(); /* "bao-video" */
if !builder.is_swap_set() {
builder.set_swap(0, 8 * 1024 * 1024);
}
@ -598,8 +598,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
if false {
builder.add_loader_feature("userspace-swap-debug");
builder.add_feature("debug-print-swapper");
} else {
// use this to enable debug in USB, when the package is selected
builder.add_feature("debug-print-usb");
} else {
}
builder.add_kernel_feature("debug-swap");
// builder.add_kernel_feature("debug-print");