mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
Merge pull request #627 from betrusted-io/modals-refactor
Fix minor issues in native build targets
This commit is contained in:
commit
9309a700ef
2 changed files with 3 additions and 2 deletions
|
|
@ -517,6 +517,7 @@ perform the Xous firmware upgrade. This requires running manual update commands,
|
|||
- graphics-server is deprecated as a dependency. Clients should now use `ux-api::minigfx` for drawing primitive dependencies.
|
||||
- This change now hides the GAM abstraction in most cases. The GAM is used to implement windowing; for lightweight platforms that don't have the screen real estate for windows, the `canvas`/`Gid` abstractions still exist but are ignored, and applications can draw directly to the screen.
|
||||
- `baosec` target in particular supports no windowing as the screen is 128x128: the UI is purely modal, where every user interaction occupies the entire screen.
|
||||
- Modify the core message loop to use reply_and_receive_next() API
|
||||
|
||||
## Roadmap
|
||||
- Lots of testing and bug fixes
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ mod testing;
|
|||
fn draw_boot_logo(display: &mut XousDisplay) { display.blit_screen(&poweron::LOGO_MAP); }
|
||||
|
||||
#[cfg(any(feature = "precursor", feature = "renode"))]
|
||||
fn map_fonts() -> MemoryRange {
|
||||
fn map_fonts() -> xous::MemoryRange {
|
||||
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
|
||||
// because the reserved area is much larger
|
||||
|
|
@ -80,7 +80,7 @@ fn map_fonts() -> MemoryRange {
|
|||
}
|
||||
|
||||
#[cfg(any(feature = "cramium-soc"))]
|
||||
fn map_fonts() -> MemoryRange {
|
||||
fn map_fonts() -> xous::MemoryRange {
|
||||
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
|
||||
// because the reserved area is much larger
|
||||
|
|
|
|||
Loading…
Reference in a new issue