zephyr/arch/arm/Kconfig

92 lines
2.6 KiB
Plaintext

# Kconfig - ARM architecture configuration options
#
# Copyright (c) 2014-2015 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
config ARM
def_bool y
config ARCH_DEFCONFIG
string
default "arch/arm/defconfig"
source "kernel/Kconfig"
source "misc/Kconfig"
menu "General Platform Configuration"
choice
prompt "Platform Selection"
default PLATFORM_FSL_FRDM_K64F
config PLATFORM_FSL_FRDM_K64F
bool "FSL FRDM K64F"
select CPU_CORTEX_M
select CPU_CORTEX_M4
config PLATFORM_TI_LM3S6965
bool "TI LM3S6965"
select CPU_CORTEX_M
select CPU_CORTEX_M3
endchoice
config ISA_THUMB2
bool
# Omit prompt to signify "hidden" option
default n
help
From: http://www.arm.com/products/processors/technologies/instruction-set-architectures.php
Thumb-2 technology is the instruction set underlying the ARM Cortex
architecture which provides enhanced levels of performance, energy
efficiency, and code density for a wide range of embedded
applications.
Thumb-2 technology builds on the success of Thumb, the innovative
high code density instruction set for ARM microprocessor cores, to
increase the power of the ARM microprocessor core available to
developers of low cost, high performance systems.
The technology is backwards compatible with existing ARM and Thumb
solutions, while significantly extending the features available to
the Thumb instructions set. This allows more of the application to
benefit from the best in class code density of Thumb.
For performance optimised code Thumb-2 technology uses 31 percent
less memory to reduce system cost, while providing up to 38 percent
higher performance than existing high density code, which can be used
to prolong battery-life or to enrich the product feature set. Thumb-2
technology is featured in the processor, and in all ARMv7
architecture-based processors.
source "arch/arm/core/Kconfig"
endmenu
if PLATFORM_TI_LM3S6965
source "arch/arm/platforms/ti_lm3s6965/Kconfig"
endif
if PLATFORM_FSL_FRDM_K64F
source "arch/arm/platforms/fsl_frdm_k64f/Kconfig"
endif
source "drivers/Kconfig"
source "net/Kconfig"