zephyr/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.series

44 lines
1.0 KiB
Plaintext

# Kconfig.defconfig.series - Nordic Semiconductor nRF5 MCU line
#
# Copyright (c) 2016 Linaro Limited
#
# 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.
#
if SOC_SERIES_NRF51X
source "arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51*"
config SOC_SERIES
default nrf51
config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 32768
config SRAM_BASE_ADDRESS
default 0x20000000
config FLASH_BASE_ADDRESS
default 0x00000000
config NUM_IRQS
int
default 26
config NUM_IRQ_PRIO_BITS
int
default 2
endif # SOC_SERIES_NRF51X