2016-08-16 18:37:24 +08:00
|
|
|
# defconfig - ARM V2M Beetle Board configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Linaro Limited
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-08-16 18:37:24 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
CONFIG_ARM=y
|
|
|
|
CONFIG_SOC_FAMILY_ARM=y
|
|
|
|
CONFIG_SOC_BEETLE_R0=y
|
|
|
|
CONFIG_SOC_SERIES_BEETLE=y
|
|
|
|
CONFIG_BOARD_V2M_BEETLE=y
|
|
|
|
CONFIG_CORTEX_M_SYSTICK=y
|
2016-11-29 01:01:37 +08:00
|
|
|
CONFIG_RUNTIME_NMI=y
|
|
|
|
CONFIG_CLOCK_CONTROL=y
|
2016-08-16 18:37:24 +08:00
|
|
|
# 24MHz system clock
|
|
|
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=24000000
|
2018-08-09 18:33:49 +08:00
|
|
|
|
2017-03-08 18:13:16 +08:00
|
|
|
# Enable MPU
|
2018-08-09 18:33:49 +08:00
|
|
|
CONFIG_ARM_MPU=y
|
2016-08-16 18:37:24 +08:00
|
|
|
|
|
|
|
# GPIOs
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
|
|
|
# PinMuxing
|
|
|
|
CONFIG_PINMUX=y
|
|
|
|
|
|
|
|
# Serial
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_SERIAL=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|
2016-11-29 01:01:37 +08:00
|
|
|
|
|
|
|
# Watchdog
|
|
|
|
CONFIG_WATCHDOG=y
|