mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
create context list for cramium target
This commit is contained in:
parent
1faaf2c092
commit
01a5d0aba9
1 changed files with 13 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ pub const WIFI_MENU_NAME: &'static str = "WLAN menu";
|
||||||
pub const PREFERENCES_MENU_NAME: &'static str = "Preferences menu";
|
pub const PREFERENCES_MENU_NAME: &'static str = "Preferences menu";
|
||||||
|
|
||||||
/// UX context registry. Names here are authorized by the GAM to have Canvases.
|
/// UX context registry. Names here are authorized by the GAM to have Canvases.
|
||||||
|
#[cfg(not(feature = "cramium-soc"))]
|
||||||
pub const EXPECTED_BOOT_CONTEXTS: &[&'static str] = &[
|
pub const EXPECTED_BOOT_CONTEXTS: &[&'static str] = &[
|
||||||
APP_NAME_SHELLCHAT,
|
APP_NAME_SHELLCHAT,
|
||||||
MAIN_MENU_NAME,
|
MAIN_MENU_NAME,
|
||||||
|
|
@ -59,6 +60,18 @@ pub const EXPECTED_BOOT_CONTEXTS: &[&'static str] = &[
|
||||||
WIFI_MENU_NAME,
|
WIFI_MENU_NAME,
|
||||||
PREFERENCES_MENU_NAME,
|
PREFERENCES_MENU_NAME,
|
||||||
];
|
];
|
||||||
|
#[cfg(feature = "cramium-soc")]
|
||||||
|
pub const EXPECTED_BOOT_CONTEXTS: &[&'static str] = &[
|
||||||
|
MAIN_MENU_NAME,
|
||||||
|
APP_NAME_SHELLCHAT,
|
||||||
|
STATUS_BAR_NAME,
|
||||||
|
EMOJI_MENU_NAME,
|
||||||
|
SHARED_MODAL_NAME,
|
||||||
|
APP_MENU_NAME,
|
||||||
|
PDDB_MODAL_NAME,
|
||||||
|
PDDB_MENU_NAME,
|
||||||
|
ROOTKEY_MODAL_NAME,
|
||||||
|
];
|
||||||
|
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
|
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
|
||||||
#[repr(u32)]
|
#[repr(u32)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue