mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
71 lines
1.9 KiB
Plaintext
71 lines
1.9 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
|
|
depends on !CPU_FAM_NRF53
|
|
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_TIMER_QUERY_FREQS
|
|
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_NRF_SHARED_SERIAL_IRQ
|
|
bool
|
|
depends on CPU_FAM_NRF53 || CPU_FAM_NRF9160
|
|
help
|
|
Indicates that the MCU used shared IRQ for UART/I2C/SPI.
|
|
|
|
config MODULE_CPU_COMMON
|
|
bool
|
|
depends on TEST_KCONFIG
|
|
default y
|
|
|
|
rsource "periph/Kconfig.nrf5x"
|
|
|
|
source "$(RIOTCPU)/cortexm_common/Kconfig"
|