fix missing path expansion in precursor target

This commit is contained in:
bunnie 2025-02-26 14:59:23 +08:00
parent ef670a64a6
commit 3e11c37400

View file

@ -34,7 +34,7 @@ mod testing;
fn draw_boot_logo(display: &mut XousDisplay) { display.blit_screen(&poweron::LOGO_MAP); } fn draw_boot_logo(display: &mut XousDisplay) { display.blit_screen(&poweron::LOGO_MAP); }
#[cfg(any(feature = "precursor", feature = "renode"))] #[cfg(any(feature = "precursor", feature = "renode"))]
fn map_fonts() -> MemoryRange { fn map_fonts() -> xous::MemoryRange {
log::trace!("mapping fonts"); log::trace!("mapping fonts");
// this maps an extra page if the total length happens to fall on a 4096-byte boundary, but this is ok // 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 // because the reserved area is much larger
@ -80,7 +80,7 @@ fn map_fonts() -> MemoryRange {
} }
#[cfg(any(feature = "cramium-soc"))] #[cfg(any(feature = "cramium-soc"))]
fn map_fonts() -> MemoryRange { fn map_fonts() -> xous::MemoryRange {
log::trace!("mapping fonts"); log::trace!("mapping fonts");
// this maps an extra page if the total length happens to fall on a 4096-byte boundary, but this is ok // 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 // because the reserved area is much larger