pub fn store_image_external<I: Iterator<Item = [u8; N]>, const N: usize>(
        &mut self,
        blocks: I,
        bank: image::Bank<EXTF::Address>,
    ) -> Result<(), Error> {
        let external_flash = self.external_flash.as_mut().ok_or(Error::NoExternalFlash)?;
        external_flash.write_from_blocks(bank.location, blocks)?;
        Ok(())
    }
/// Writes a firmware image to an external flash bank. Takes an iterator over byte
/// blocks, to easily interface with serial or network protocols like XMODEM or TCP/IP
/// where information is received in chunks.
Writes a firmware image to an external flash bank. Takes an iterator over byte
blocks, to easily interface with serial or network protocols like XMODEM or TCP/IP
where information is received in chunks.
Writes a firmware image to an external flash bank . Takes an iterator over byte blocks to easily interface with serial or network protocols like XMODEM or TCP / IP where information is received in chunks .
pub fn store_image_external<I: Iterator<Item = [u8; N]>, const N: usize>(
        &mut self,
        blocks: I,
        bank: image::Bank<EXTF::Address>,
    ) -> Result<(), Error> {
        let external_flash = self.external_flash.as_mut().ok_or(Error::NoExternalFlash)?;
        external_flash.write_from_blocks(bank.location, blocks)?;
        Ok(())
    }
pub fn store_image_external < I : Iterator < Item = [ u8 ; N ] > , const N : usize > ( & mut self , blocks : I , bank : image :: Bank < EXTF :: Address > , ) -> Result < ( ) , Error > { let external_flash = self . external_flash . as_mut ( ) . ok_or ( Error :: NoExternalFlash ) ? ; external_flash . write_from_blocks ( bank . location , blocks ) ? ; Ok ( ( ) ) }
Writes a firmware image to an external flash bank.
Writes a firmware image to an external flash bank .
&mut self
blocks
I
bank
image::Bank<EXTF::Address>
&mut self
blocks
I
bank
image::Bank<EXTF::Address>