Infineon: Add cyw20829 platform, shared slot feature, json memory map, psoc6 xip
Based in 1.8.0 release of MCUBoot library
This commit adds CYW20829 Infineon platform support with following capabilities:
1. Overwrite and swap upgrade mode support
2. Multi-image with up to 4 images
3. Hardware security counter is supported for CYW20829 platform
Add XIP support for PSOC6 platform - place BOOT slot in external memory and execute it in place using SMIF in XIP mode
and some new features for Infineon devices.
1. Shared upgrade slot feature - use one shared area for upgrade slots of multiple images
2. Memory map defined using JSON file - define memory regions for bootloader and user app in conventional way using JSON file
diff --git a/sim/src/lib.rs b/sim/src/lib.rs
index 4203c0e..69f13f1 100644
--- a/sim/src/lib.rs
+++ b/sim/src/lib.rs
@@ -63,8 +63,10 @@
#[derive(Copy, Clone, Debug, Deserialize)]
pub enum DeviceName {
- Stm32f4, K64f, K64fBig, K64fMulti, Nrf52840, Nrf52840SpiFlash,
- Nrf52840UnequalSlots, PSoC6Multi,
+ Stm32f4,
+ K64f, K64fBig, K64fMulti,
+ Nrf52840, Nrf52840SpiFlash, Nrf52840UnequalSlots,
+ PSoC6
}
pub static ALL_DEVICES: &[DeviceName] = &[
@@ -75,7 +77,7 @@
DeviceName::Nrf52840,
DeviceName::Nrf52840SpiFlash,
DeviceName::Nrf52840UnequalSlots,
- DeviceName::PSoC6Multi,
+ DeviceName::PSoC6
];
impl fmt::Display for DeviceName {
@@ -88,7 +90,7 @@
DeviceName::Nrf52840 => "nrf52840",
DeviceName::Nrf52840SpiFlash => "Nrf52840SpiFlash",
DeviceName::Nrf52840UnequalSlots => "Nrf52840UnequalSlots",
- DeviceName::PSoC6Multi => "psoc6multi",
+ DeviceName::PSoC6 => "PSoC6"
};
f.write_str(name)
}