Skip to content

Commit 5e0239c

Browse files
committed
ab_split: Enable HW downgrade protection
Enable HW-based downgrade protection inside the A/B sample with split slots. Ref: NCSDK-36359 Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent fa439ac commit 5e0239c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

samples/dfu/ab_split/sysbuild.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ SB_CONFIG_MCUBOOT_SIGN_MERGED_BINARY=n
1313

1414
# Enable manifest-based updates
1515
SB_CONFIG_MCUBOOT_MANIFEST_UPDATES=y
16+
17+
# Enable HW-based rollback protection
18+
SB_CONFIG_MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION=y

samples/dfu/ab_split/sysbuild/mcuboot/prj.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@ CONFIG_RETENTION=y
3636
CONFIG_BOOT_SHARE_DATA=y
3737
CONFIG_BOOT_SHARE_DATA_BOOTINFO=y
3838
CONFIG_BOOT_SHARE_BACKEND_RETENTION=y
39+
40+
# Enable IronSide service
41+
CONFIG_NRF_IRONSIDE_COUNTER_SERVICE=y
42+
# Enable MCUboot counter implementation that uses IronSide counters
43+
CONFIG_NRF_MCUBOOT_IRONSIDE_COUNTERS=y

0 commit comments

Comments
 (0)