pub struct BoardSection {
pub id: String,
pub firmware: Option<String>,
pub bootloader: Option<String>,
pub partition_table: Option<String>,
pub rom: Option<String>,
pub elf: Option<String>,
pub runtime: Option<Runtime>,
pub script: Option<String>,
pub scripts: Vec<String>,
pub flash_size: Option<String>,
pub mac: Option<String>,
}Expand description
One [[board]]: the firmware and overrides for the development board whose
instance id is id in diagram.json.
Fields§
§id: String§firmware: Option<String>The application image this board boots. Required when [[board]] is
used; a project with one board keeps naming it under [sim] firmware.
bootloader: Option<String>§partition_table: Option<String>§rom: Option<String>§elf: Option<String>§runtime: Option<Runtime>§script: Option<String>§scripts: Vec<String>Additional Python modules staged onto the device before the entry
script runs. Only read when the runtime is a Python one (micropython
or circuitpython); paths are relative to the project and keep their
directory shape on the device.
flash_size: Option<String>§mac: Option<String>Trait Implementations§
Source§impl Clone for BoardSection
impl Clone for BoardSection
Source§fn clone(&self) -> BoardSection
fn clone(&self) -> BoardSection
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 moreSource§impl Debug for BoardSection
impl Debug for BoardSection
Source§impl<'de> Deserialize<'de> for BoardSection
impl<'de> Deserialize<'de> for BoardSection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BoardSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BoardSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for BoardSection
impl Freeze for BoardSection
impl Move for BoardSection
impl RefUnwindSafe for BoardSection
impl Send for BoardSection
impl Sync for BoardSection
impl Unpin for BoardSection
impl UnsafeUnpin for BoardSection
impl UnwindSafe for BoardSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more