38 lines
605 B
Plaintext
38 lines
605 B
Plaintext
#
|
|
# Copyright (c) 2017 Linaro Limited
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
CONFIG_ARM=y
|
|
CONFIG_SOC_FAMILY_ARM=y
|
|
CONFIG_SOC_SERIES_MPS2=y
|
|
CONFIG_SOC_MPS2_AN385=y
|
|
CONFIG_BOARD_MPS2_AN385=y
|
|
CONFIG_CORTEX_M_SYSTICK=y
|
|
CONFIG_RUNTIME_NMI=y
|
|
|
|
# GPIOs
|
|
CONFIG_GPIO=y
|
|
|
|
# PinMuxing
|
|
CONFIG_PINMUX=y
|
|
|
|
# Serial
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_CMSDK_APB=y
|
|
|
|
# Watchdog
|
|
CONFIG_WATCHDOG=y
|
|
|
|
CONFIG_I2C=y
|
|
|
|
#Enable MPU
|
|
CONFIG_ARCH_HAS_USERSPACE=y
|
|
CONFIG_ARM_MPU=y
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_IDLE_STACK_SIZE=2048
|
|
CONFIG_PRIVILEGED_STACK_SIZE=1024
|
|
CONFIG_TEST_EXTRA_STACKSIZE=1024 |