mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-08 14:45:21 +00:00
In all Nordic boards that contain ICs that support hardware stack protection, turn it on by default so that we detect stack overflows easier. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
28 lines
437 B
Plaintext
28 lines
437 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
CONFIG_SOC_SERIES_NRF52X=y
|
|
CONFIG_SOC_NRF52832_QFAA=y
|
|
CONFIG_BOARD_NRF52DK_NRF52832=y
|
|
|
|
# Enable MPU
|
|
CONFIG_ARM_MPU=y
|
|
|
|
# Enable hardware stack protection
|
|
CONFIG_HW_STACK_PROTECTION=y
|
|
|
|
# Enable RTT
|
|
CONFIG_USE_SEGGER_RTT=y
|
|
|
|
# enable GPIO
|
|
CONFIG_GPIO=y
|
|
|
|
# enable uart driver
|
|
CONFIG_SERIAL=y
|
|
|
|
# enable console
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
# additional board options
|
|
CONFIG_GPIO_AS_PINRESET=y
|