Skip to content

Commit d2bf480

Browse files
carlescufikartben
authored andcommitted
boards: nordic: nrf54lm20dk: Conditionally enable hw stack protection
This is a follow-up of commit 9a9ae6f, specifically for the nRF54LM20 DK, which was not included in the previous commit. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
1 parent 648919f commit d2bf480

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

boards/nordic/nrf54lm20dk/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
if BOARD_NRF54LM20DK_NRF54LM20A_CPUAPP
55

6+
config HW_STACK_PROTECTION
7+
default ARCH_HAS_STACK_PROTECTION
8+
69
config ROM_START_OFFSET
710
default 0x800 if BOOTLOADER_MCUBOOT
811

boards/nordic/nrf54lm20dk/nrf54lm20dk_nrf54lm20a_cpuapp_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ CONFIG_GPIO=y
1414
# Enable MPU
1515
CONFIG_ARM_MPU=y
1616

17-
# Enable hardware stack protection
18-
CONFIG_HW_STACK_PROTECTION=y
19-
2017
# MPU-based null-pointer dereferencing detection cannot
2118
# be applied as the (0x0 - 0x400) is unmapped for this target.
2219
CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y

0 commit comments

Comments
 (0)