From a66a541488386170f744687c6cbbbefc4278a1bf Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 24 Feb 2025 02:30:07 +0800 Subject: [PATCH] pass the cramium-soc flag to blitstr2 when compiling for hardware --- services/bao-video/Cargo.toml | 2 +- services/bao-video/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/bao-video/Cargo.toml b/services/bao-video/Cargo.toml index ba6864348..4691aa025 100644 --- a/services/bao-video/Cargo.toml +++ b/services/bao-video/Cargo.toml @@ -45,7 +45,7 @@ hosted-baosec = ["cramium-emu", "ux-api/hosted-baosec"] # temporary feature - remove after we have properly created a camera control API autotest = [] -cramium-soc = ["utralib/cramium-soc"] +cramium-soc = ["utralib/cramium-soc", "blitstr2/cramium-soc"] decongest-udma = [] default = [ "decongest-udma", diff --git a/services/bao-video/src/main.rs b/services/bao-video/src/main.rs index 4764db65d..a127108b4 100644 --- a/services/bao-video/src/main.rs +++ b/services/bao-video/src/main.rs @@ -124,7 +124,7 @@ fn map_fonts() -> MemoryRange { // this maps an extra page if the total length happens to fall on a 4096-byte boundary, but this is ok // because the reserved area is much larger let fontlen: u32 = ((fontmap::FONT_TOTAL_LEN as u32 + 8) & 0xFFFF_F000) + 0x1000; - log::trace!("requesting map of length 0x{:08x} at 0x{:08x}", fontlen, fontmap::FONT_BASE); + log::info!("requesting map of length 0x{:08x} at 0x{:08x}", fontlen, fontmap::FONT_BASE); let fontregion = xous::syscall::map_memory( xous::MemoryAddress::new(fontmap::FONT_BASE), None,