Searched refs:SimFlash (Results 1 – 3 of 3) sorted by relevance
/mcuboot-3.7.0/sim/simflash/src/ |
D | lib.rs | 88 pub struct SimFlash { struct 99 impl SimFlash { implementation 101 pub fn new(sectors: Vec<usize>, align: usize, erased_val: u8) -> SimFlash { in new() argument 107 SimFlash { in new() 146 pub type SimMultiFlash = HashMap<u8, SimFlash>; 148 impl Flash for SimFlash { implementation 309 use super::{Flash, FlashError, SimFlash, Result, Sector}; 315 let mut f1 = SimFlash::new(vec![4096usize; 256], 1, erased_val); in test_flash() 319 let mut f2 = SimFlash::new(vec![16 * 1024, 16 * 1024, 16 * 1024, 64 * 1024, in test_flash()
|
/mcuboot-3.7.0/sim/mcuboot-sys/src/ |
D | area.rs | 9 use simflash::{Flash, SimFlash, Sector}; 31 pub fn add_flash_sectors(&mut self, id: u8, flash: &SimFlash) { in add_flash_sectors() argument
|
/mcuboot-3.7.0/sim/src/ |
D | image.rs | 37 use simflash::{Flash, SimFlash, SimMultiFlash}; 440 let dev = SimFlash::new(vec![16 * 1024, 16 * 1024, 16 * 1024, 16 * 1024, 64 * 1024, in make_device() 458 let dev = SimFlash::new(vec![4096; 128], align as usize, erased_val); in make_device() 474 let dev = SimFlash::new(vec![4096; 128], align as usize, erased_val); in make_device() 490 let dev = SimFlash::new(vec![4096; 128], align as usize, erased_val); in make_device() 504 let dev = SimFlash::new(vec![4096; 128], align as usize, erased_val); in make_device() 519 let dev0 = SimFlash::new(vec![4096; 128], align as usize, erased_val); in make_device() 520 let dev1 = SimFlash::new(vec![8192; 64], align as usize, erased_val); in make_device() 537 let dev = SimFlash::new(vec![4096; 256], align as usize, erased_val); in make_device()
|