Skip to content

Commit 07fec01

Browse files
gautierg-stkartben
authored andcommitted
boards: st: stm32n6: enable mpu for stm32n6 boards
Enable MPU and HW Stack Protection for Nucleo N657x0-Q and STM32N6570 DK boards. Signed-off-by: Guillaume Gautier <[email protected]>
1 parent a024d5b commit 07fec01

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

boards/st/nucleo_n657x0_q/nucleo_n657x0_q_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,11 @@ CONFIG_GPIO=y
1111
CONFIG_CONSOLE=y
1212
CONFIG_UART_CONSOLE=y
1313

14+
# Enable MPU
15+
CONFIG_ARM_MPU=y
16+
17+
# Enable HW stack protection
18+
CONFIG_HW_STACK_PROTECTION=y
19+
1420
# No internal Flash
1521
CONFIG_XIP=n

boards/st/nucleo_n657x0_q/nucleo_n657x0_q_stm32n657xx_sb_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_GPIO=y
1111
CONFIG_CONSOLE=y
1212
CONFIG_UART_CONSOLE=y
1313

14+
# Enable MPU
15+
CONFIG_ARM_MPU=y
16+
17+
# Enable HW stack protection
18+
CONFIG_HW_STACK_PROTECTION=y
19+
1420
# No internal Flash
1521
CONFIG_XIP=n
1622

boards/st/stm32n6570_dk/stm32n6570_dk_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,11 @@ CONFIG_GPIO=y
1111
CONFIG_CONSOLE=y
1212
CONFIG_UART_CONSOLE=y
1313

14+
# Enable MPU
15+
CONFIG_ARM_MPU=y
16+
17+
# Enable HW stack protection
18+
CONFIG_HW_STACK_PROTECTION=y
19+
1420
# No internal Flash
1521
CONFIG_XIP=n

boards/st/stm32n6570_dk/stm32n6570_dk_stm32n657xx_sb_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_GPIO=y
1111
CONFIG_CONSOLE=y
1212
CONFIG_UART_CONSOLE=y
1313

14+
# Enable MPU
15+
CONFIG_ARM_MPU=y
16+
17+
# Enable HW stack protection
18+
CONFIG_HW_STACK_PROTECTION=y
19+
1420
# No internal Flash
1521
CONFIG_XIP=n
1622

0 commit comments

Comments
 (0)