Skip to main content

initialize

Function initialize 

Source
pub async fn initialize(
    graphics_enabled: bool,
    network_enabled: bool,
) -> Standard<'static>
Expand description

Set up an in-memory Xila environment and return the standard streams of the current task: a formatted LittleFS on a memory device, the default hierarchy, test devices, and an administrator user and group.

With graphics_enabled, graphics runs on a HeadlessScreenDevice (800×600, no input devices). With network_enabled, a network manager is created without interfaces or HTTP clients: tests needing real connectivity belong to platform integration tests.