Function find_app

Source
pub fn find_app(
    name: &str,
    app_flash: &'static [u8],
) -> Result<(usize, usize, usize, usize), ()>
Expand description

Find the OTBN app in the Tock process list

This will iterate through the app list inside the app_flash looking for a disabled app with the same name as name. On success this function will return the following information:

  • OTBN imem start address
  • OTBN imem size
  • OTBN dmem start address
  • OTBN dmem size

This function is based on the Tock process loading code