pub struct RuntimeBuilder { /* private fields */ }
Expand description
Boot Image builder
Implementations§
Source§impl RuntimeBuilder
impl RuntimeBuilder
Sourcepub fn from_flash(family: Device, xpi_config: XpiNorConfigurationOption) -> Self
pub fn from_flash(family: Device, xpi_config: XpiNorConfigurationOption) -> Self
Create RuntimeBuilder
that boot from XPI.
Sourcepub fn from_ram(device: Device) -> Self
pub fn from_ram(device: Device) -> Self
Create RuntimeBuilder
that boot from ILM.
Sourcepub fn xpi0_flash_size(self, size: u32) -> Self
pub fn xpi0_flash_size(self, size: u32) -> Self
Set the size of the flash connected to XPI0
Sourcepub fn xpi1_flash_size(self, size: u32) -> Self
pub fn xpi1_flash_size(self, size: u32) -> Self
Set the size of the flash connected to XPI1
Sourcepub fn rodata(self, memory: MemoryType) -> Self
pub fn rodata(self, memory: MemoryType) -> Self
Specify where to place the .rodata
section
Sourcepub fn data(self, memory: MemoryType) -> Self
pub fn data(self, memory: MemoryType) -> Self
Specify where to place the .data
section
Sourcepub fn bss(self, memory: MemoryType) -> Self
pub fn bss(self, memory: MemoryType) -> Self
Specify where to place the .bss
section
Sourcepub fn stack(self, memory: MemoryType) -> Self
pub fn stack(self, memory: MemoryType) -> Self
Specify where to place the stack region
Auto Trait Implementations§
impl Freeze for RuntimeBuilder
impl RefUnwindSafe for RuntimeBuilder
impl Send for RuntimeBuilder
impl Sync for RuntimeBuilder
impl Unpin for RuntimeBuilder
impl UnwindSafe for RuntimeBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more