mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
pass the cramium-soc flag to blitstr2 when compiling for hardware
This commit is contained in:
parent
c2714dca12
commit
a66a541488
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ hosted-baosec = ["cramium-emu", "ux-api/hosted-baosec"]
|
||||||
# temporary feature - remove after we have properly created a camera control API
|
# temporary feature - remove after we have properly created a camera control API
|
||||||
autotest = []
|
autotest = []
|
||||||
|
|
||||||
cramium-soc = ["utralib/cramium-soc"]
|
cramium-soc = ["utralib/cramium-soc", "blitstr2/cramium-soc"]
|
||||||
decongest-udma = []
|
decongest-udma = []
|
||||||
default = [
|
default = [
|
||||||
"decongest-udma",
|
"decongest-udma",
|
||||||
|
|
|
||||||
|
|
@ -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
|
// 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
|
||||||
let fontlen: u32 = ((fontmap::FONT_TOTAL_LEN as u32 + 8) & 0xFFFF_F000) + 0x1000;
|
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(
|
let fontregion = xous::syscall::map_memory(
|
||||||
xous::MemoryAddress::new(fontmap::FONT_BASE),
|
xous::MemoryAddress::new(fontmap::FONT_BASE),
|
||||||
None,
|
None,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue