diff --git a/pm_static.yml b/pm_static.yml index cf6dd2e..b3a065d 100644 --- a/pm_static.yml +++ b/pm_static.yml @@ -23,40 +23,19 @@ mcuboot_primary: end_address: 0x36000 region: flash_primary size: 0x26000 - orig_span: + orig_span: &id001 - mcuboot_pad - app + span: *id001 + mcuboot_primary_app: - orig_span: + orig_span: &id002 - app region: flash_primary address: 0x10200 end_address: 0x36000 - region: flash_primary size: 0x25e00 - -mcuboot_secondary: - address: 0x36000 - end_address: 0x7c000 - span: [mcuboot_secondary_pad, mcuboot_secondary_app] - region: flash_primary - size: 0x26000 - -mcuboot_secondary_app: - address: 0x36200 - end_address: 0x7c000 - placement: - after: [mcuboot_secondary_pad] - region: flash_primary - size: 0x25e00 - -mcuboot_secondary_pad: - address: 0x36000 - end_address: 0x36200 - placement: - after: [mcuboot_primary] - region: flash_primary - size: 0x200 + span: *id002 storage: address: 0x7c000 diff --git a/sysbuild.conf b/sysbuild.conf index 721a76f..a0dceb0 100644 --- a/sysbuild.conf +++ b/sysbuild.conf @@ -1 +1,2 @@ -SB_CONFIG_BOOTLOADER_MCUBOOT=y \ No newline at end of file +SB_CONFIG_BOOTLOADER_MCUBOOT=y +SB_CONFIG_MCUBOOT_MODE_SINGLE_APP=y \ No newline at end of file