pub struct FirmwareConfiguration {
pub target: String,
pub path: PathBuf,
pub release: bool,
pub ipc: Option<SharedMemConfig>,
pub dbg: Option<DbgConfig>,
}Expand description
Build parameters for bare-metal coprocessor firmware.
Fields§
§target: StringRust target triple to cross-compile for (e.g.
thumbv8m.main-none-eabihf). Resolved by the caller from the coprocessor’s
core name (McoreName/RcoreName/RvCoreName::as_rust_triple), the
single source of truth for triples.
path: PathBufPath to the firmware Cargo project root.
release: boolBuild in release mode.
ipc: Option<SharedMemConfig>IPC shared-memory layout, injected as CONSORTIUM_IPC_* env vars.
dbg: Option<DbgConfig>Debug ring layout, injected as CONSORTIUM_DBG_* env vars.
Trait Implementations§
Source§impl Clone for FirmwareConfiguration
impl Clone for FirmwareConfiguration
Source§fn clone(&self) -> FirmwareConfiguration
fn clone(&self) -> FirmwareConfiguration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FirmwareConfiguration
impl RefUnwindSafe for FirmwareConfiguration
impl Send for FirmwareConfiguration
impl Sync for FirmwareConfiguration
impl Unpin for FirmwareConfiguration
impl UnsafeUnpin for FirmwareConfiguration
impl UnwindSafe for FirmwareConfiguration
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