[−][src]Trait blflash::chip::Chip
Required methods
pub fn target(&self) -> &'static str
[src]
pub fn get_eflash_loader(&self) -> &[u8]
[src]
pub fn get_flash_segment<'a>(
&self,
code_segment: CodeSegment<'a>
) -> Option<RomSegment<'a>>
[src]
&self,
code_segment: CodeSegment<'a>
) -> Option<RomSegment<'a>>
pub fn with_boot2(
&self,
partition_cfg: PartitionCfg,
bootheader_cfg: BootHeaderCfg,
ro_params: Vec<u8>,
bin: &[u8]
) -> Result<Vec<RomSegment<'_>>, Error>
[src]
&self,
partition_cfg: PartitionCfg,
bootheader_cfg: BootHeaderCfg,
ro_params: Vec<u8>,
bin: &[u8]
) -> Result<Vec<RomSegment<'_>>, Error>
Implementors
impl Chip for Bl602
[src]
pub fn target(&self) -> &'static str
[src]
pub fn get_eflash_loader(&self) -> &[u8]
[src]
pub fn get_flash_segment<'a>(
&self,
code_segment: CodeSegment<'a>
) -> Option<RomSegment<'a>>
[src]
&self,
code_segment: CodeSegment<'a>
) -> Option<RomSegment<'a>>
pub fn with_boot2(
&self,
partition_cfg: PartitionCfg,
bootheader_cfg: BootHeaderCfg,
ro_params: Vec<u8>,
bin: &[u8]
) -> Result<Vec<RomSegment<'_>>, Error>
[src]
&self,
partition_cfg: PartitionCfg,
bootheader_cfg: BootHeaderCfg,
ro_params: Vec<u8>,
bin: &[u8]
) -> Result<Vec<RomSegment<'_>>, Error>