move bao-video to XIP flash

we've got the space - might as well.

there's about 300k of space left in the xous image after this
modification. This is starting to cut it close, so this is
the last item that makes it into the "fixed" xous image.
This commit is contained in:
bunnie 2025-11-28 18:43:08 +08:00
parent 3b1784d346
commit 7631ad9e20

View file

@ -742,9 +742,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
"bao-console",
"modals",
"pddb",
"bao-video",
]
.to_vec();
let bao_swap_pkgs = ["bao-video", "vault2"].to_vec();
let bao_swap_pkgs = ["vault2"].to_vec();
if !builder.is_swap_set() {
// reserve 3MiB for system services: ultimately, "pddb, modals, and bao-video"
builder.set_swap(0, bao1x_api::offsets::baosec::SWAP_RAM_LEN as _);