2016-08-26 02:38:53 +08:00
|
|
|
# Kconfig.soc - Nordic Semiconductor nRF51 MCU line
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Linaro Limited
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-08-26 02:38:53 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "nRF51x MCU Selection"
|
|
|
|
depends on SOC_SERIES_NRF51X
|
|
|
|
|
|
|
|
config SOC_NRF51822_QFAA
|
|
|
|
bool "NRF51822_QFAA"
|
2018-06-14 14:32:31 +08:00
|
|
|
select HAS_HW_NRF_ADC
|
|
|
|
select HAS_HW_NRF_CCM
|
|
|
|
select HAS_HW_NRF_ECB
|
|
|
|
select HAS_HW_NRF_GPIO0
|
|
|
|
select HAS_HW_NRF_GPIOTE
|
|
|
|
select HAS_HW_NRF_LPCOMP
|
2018-10-30 16:07:26 +08:00
|
|
|
select HAS_HW_NRF_MPU
|
2018-06-14 14:32:31 +08:00
|
|
|
select HAS_HW_NRF_QDEC
|
|
|
|
select HAS_HW_NRF_PPI
|
|
|
|
select HAS_HW_NRF_RNG
|
|
|
|
select HAS_HW_NRF_RTC0
|
|
|
|
select HAS_HW_NRF_RTC1
|
|
|
|
select HAS_HW_NRF_SPI0
|
|
|
|
select HAS_HW_NRF_SPI1
|
|
|
|
select HAS_HW_NRF_SPIS1
|
|
|
|
select HAS_HW_NRF_TEMP
|
|
|
|
select HAS_HW_NRF_TIMER0
|
|
|
|
select HAS_HW_NRF_TIMER1
|
|
|
|
select HAS_HW_NRF_TIMER2
|
|
|
|
select HAS_HW_NRF_TWI0
|
|
|
|
select HAS_HW_NRF_TWI1
|
|
|
|
select HAS_HW_NRF_UART0
|
|
|
|
select HAS_HW_NRF_WDT
|
2016-08-26 02:38:53 +08:00
|
|
|
|
|
|
|
config SOC_NRF51822_QFAB
|
|
|
|
bool "NRF51822_QFAB"
|
2018-06-14 14:32:31 +08:00
|
|
|
select HAS_HW_NRF_ADC
|
|
|
|
select HAS_HW_NRF_CCM
|
|
|
|
select HAS_HW_NRF_ECB
|
|
|
|
select HAS_HW_NRF_GPIO0
|
|
|
|
select HAS_HW_NRF_GPIOTE
|
|
|
|
select HAS_HW_NRF_LPCOMP
|
2018-10-30 16:07:26 +08:00
|
|
|
select HAS_HW_NRF_MPU
|
2018-06-14 14:32:31 +08:00
|
|
|
select HAS_HW_NRF_QDEC
|
|
|
|
select HAS_HW_NRF_PPI
|
|
|
|
select HAS_HW_NRF_RNG
|
|
|
|
select HAS_HW_NRF_RTC0
|
|
|
|
select HAS_HW_NRF_RTC1
|
|
|
|
select HAS_HW_NRF_SPI0
|
|
|
|
select HAS_HW_NRF_SPI1
|
|
|
|
select HAS_HW_NRF_SPIS1
|
|
|
|
select HAS_HW_NRF_TEMP
|
|
|
|
select HAS_HW_NRF_TIMER0
|
|
|
|
select HAS_HW_NRF_TIMER1
|
|
|
|
select HAS_HW_NRF_TIMER2
|
|
|
|
select HAS_HW_NRF_TWI0
|
|
|
|
select HAS_HW_NRF_TWI1
|
|
|
|
select HAS_HW_NRF_UART0
|
|
|
|
select HAS_HW_NRF_WDT
|
2016-08-26 02:38:53 +08:00
|
|
|
|
|
|
|
config SOC_NRF51822_QFAC
|
|
|
|
bool "NRF51822_QFAC"
|
2018-06-14 14:32:31 +08:00
|
|
|
select HAS_HW_NRF_ADC
|
|
|
|
select HAS_HW_NRF_CCM
|
|
|
|
select HAS_HW_NRF_ECB
|
|
|
|
select HAS_HW_NRF_GPIO0
|
|
|
|
select HAS_HW_NRF_GPIOTE
|
|
|
|
select HAS_HW_NRF_LPCOMP
|
2018-10-30 16:07:26 +08:00
|
|
|
select HAS_HW_NRF_MPU
|
2018-06-14 14:32:31 +08:00
|
|
|
select HAS_HW_NRF_QDEC
|
|
|
|
select HAS_HW_NRF_PPI
|
|
|
|
select HAS_HW_NRF_RNG
|
|
|
|
select HAS_HW_NRF_RTC0
|
|
|
|
select HAS_HW_NRF_RTC1
|
|
|
|
select HAS_HW_NRF_SPI0
|
|
|
|
select HAS_HW_NRF_SPI1
|
|
|
|
select HAS_HW_NRF_SPIS1
|
|
|
|
select HAS_HW_NRF_TEMP
|
|
|
|
select HAS_HW_NRF_TIMER0
|
|
|
|
select HAS_HW_NRF_TIMER1
|
|
|
|
select HAS_HW_NRF_TIMER2
|
|
|
|
select HAS_HW_NRF_TWI0
|
|
|
|
select HAS_HW_NRF_TWI1
|
|
|
|
select HAS_HW_NRF_UART0
|
|
|
|
select HAS_HW_NRF_WDT
|
2016-08-26 02:38:53 +08:00
|
|
|
|
|
|
|
endchoice
|