2024-03-12 22:00:05 +08:00
|
|
|
# Copyright (c) 2024 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-03-21 20:31:50 +08:00
|
|
|
# Enable UART driver
|
|
|
|
CONFIG_SERIAL=y
|
|
|
|
|
|
|
|
# Enable console
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
|
2024-03-12 22:00:05 +08:00
|
|
|
CONFIG_USE_DT_CODE_PARTITION=y
|
|
|
|
|
|
|
|
# Enable MPU
|
|
|
|
CONFIG_ARM_MPU=y
|
|
|
|
|
|
|
|
# Enable hardware stack protection
|
|
|
|
CONFIG_HW_STACK_PROTECTION=y
|
|
|
|
|
|
|
|
# MPU-based null-pointer dereferencing detection cannot be applied
|
|
|
|
# as the (0x0 - 0x400) region is unmapped for this target.
|
|
|
|
CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
|
|
|
|
|
|
|
|
# Enable cache
|
|
|
|
CONFIG_CACHE_MANAGEMENT=y
|
|
|
|
CONFIG_EXTERNAL_CACHE=y
|
|
|
|
|
|
|
|
# Enable GPIO
|
|
|
|
CONFIG_GPIO=y
|