1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/nrf5x_common/Kconfig
Gunar Schorcht 73eb3cba72 kconfig: move BLE_* features to common features file
These BLE_* features are not necessarily nRF5x specific and should be defined as common features. The commit also fixes the alphabetical order for HAS_RUST_TARGET.
2022-08-12 16:14:58 +02:00

64 lines
1.7 KiB
Plaintext

# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
config CPU_COMMON_NRF5X
bool
select HAS_BLE_NIMBLE
select HAS_PERIPH_CPUID
select HAS_PERIPH_FLASHPAGE
select HAS_PERIPH_FLASHPAGE_IN_ADDRESS_SPACE
select HAS_PERIPH_FLASHPAGE_PAGEWISE
select HAS_PERIPH_GPIO
select HAS_PERIPH_GPIO_IRQ
select HAS_PERIPH_GPIO_LL
select HAS_PERIPH_GPIO_LL_IRQ
select HAS_PERIPH_GPIO_LL_IRQ_UNMASK
select HAS_PERIPH_HWRNG
select HAS_PERIPH_TEMPERATURE
select HAS_PERIPH_TIMER_PERIODIC
select HAS_PERIPH_RTT_OVERFLOW
select HAS_PERIPH_UART_MODECFG
select HAS_PERIPH_WDT
select HAS_PERIPH_WDT_CB
select HAS_RADIO_NRFBLE
select HAS_RADIO_NRFMIN
## Definition of specific features
config HAS_RADIO_NRFBLE
bool
select HAVE_NRF5X_RADIO
help
Indicates that a BLE-compatible nRF radio is present.
config HAS_RADIO_NRFMIN
bool
select HAVE_NRF5X_RADIO
help
Indicates that a radio compatible with the nRF minimal radio driver is
present.
config HAS_VDD_LC_FILTER_REG0
bool
help
Indicates that a board is equipped with an external LC filter circuit
attached to the CPUs voltage regulator stage 0.
config HAS_VDD_LC_FILTER_REG1
bool
help
Indicates that a board is equipped with an external LC filter circuit
attached to the CPUs voltage regulator stage 1.
config MODULE_CPU_COMMON
bool
depends on TEST_KCONFIG
default y
rsource "periph/Kconfig.nrf5x"
source "$(RIOTCPU)/cortexm_common/Kconfig"