Implement new swap scheme for devices with large erase size using scratch with status area
diff --git a/sim/src/lib.rs b/sim/src/lib.rs
index c5aa04f..4203c0e 100644
--- a/sim/src/lib.rs
+++ b/sim/src/lib.rs
@@ -64,7 +64,7 @@
#[derive(Copy, Clone, Debug, Deserialize)]
pub enum DeviceName {
Stm32f4, K64f, K64fBig, K64fMulti, Nrf52840, Nrf52840SpiFlash,
- Nrf52840UnequalSlots,
+ Nrf52840UnequalSlots, PSoC6Multi,
}
pub static ALL_DEVICES: &[DeviceName] = &[
@@ -75,6 +75,7 @@
DeviceName::Nrf52840,
DeviceName::Nrf52840SpiFlash,
DeviceName::Nrf52840UnequalSlots,
+ DeviceName::PSoC6Multi,
];
impl fmt::Display for DeviceName {
@@ -87,6 +88,7 @@
DeviceName::Nrf52840 => "nrf52840",
DeviceName::Nrf52840SpiFlash => "Nrf52840SpiFlash",
DeviceName::Nrf52840UnequalSlots => "Nrf52840UnequalSlots",
+ DeviceName::PSoC6Multi => "psoc6multi",
};
f.write_str(name)
}