2020-07-03 10:47:11 +02:00
|
|
|
# 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
|
2023-07-04 17:17:23 +02:00
|
|
|
depends on !CPU_FAM_NRF53
|
2020-07-03 10:47:11 +02:00
|
|
|
bool
|
2021-03-04 20:04:11 +01:00
|
|
|
select HAS_BLE_NIMBLE
|
2020-07-03 10:47:11 +02:00
|
|
|
select HAS_PERIPH_CPUID
|
|
|
|
select HAS_PERIPH_FLASHPAGE
|
2022-03-17 19:45:54 +01:00
|
|
|
select HAS_PERIPH_FLASHPAGE_IN_ADDRESS_SPACE
|
2020-11-09 16:44:21 +01:00
|
|
|
select HAS_PERIPH_FLASHPAGE_PAGEWISE
|
2020-07-03 10:47:11 +02:00
|
|
|
select HAS_PERIPH_GPIO
|
|
|
|
select HAS_PERIPH_GPIO_IRQ
|
2021-09-03 13:04:53 +02:00
|
|
|
select HAS_PERIPH_GPIO_LL
|
|
|
|
select HAS_PERIPH_GPIO_LL_IRQ
|
|
|
|
select HAS_PERIPH_GPIO_LL_IRQ_UNMASK
|
2020-07-03 10:47:11 +02:00
|
|
|
select HAS_PERIPH_HWRNG
|
|
|
|
select HAS_PERIPH_TEMPERATURE
|
2020-11-30 17:26:02 +01:00
|
|
|
select HAS_PERIPH_TIMER_PERIODIC
|
2023-08-17 14:45:42 +02:00
|
|
|
select HAS_PERIPH_TIMER_POLL
|
2023-04-28 12:13:59 +02:00
|
|
|
select HAS_PERIPH_TIMER_QUERY_FREQS
|
2021-01-13 20:48:29 +01:00
|
|
|
select HAS_PERIPH_RTT_OVERFLOW
|
2020-07-03 10:47:11 +02:00
|
|
|
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
|
2021-09-29 10:17:47 +02:00
|
|
|
select HAVE_NRF5X_RADIO
|
2020-07-03 10:47:11 +02:00
|
|
|
help
|
|
|
|
Indicates that a BLE-compatible nRF radio is present.
|
|
|
|
|
|
|
|
config HAS_RADIO_NRFMIN
|
|
|
|
bool
|
2021-09-29 10:17:47 +02:00
|
|
|
select HAVE_NRF5X_RADIO
|
2020-07-03 10:47:11 +02:00
|
|
|
help
|
|
|
|
Indicates that a radio compatible with the nRF minimal radio driver is
|
|
|
|
present.
|
|
|
|
|
2021-02-18 15:26:44 +01:00
|
|
|
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.
|
|
|
|
|
2023-07-05 14:43:41 +02:00
|
|
|
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.
|
2021-09-29 10:17:47 +02:00
|
|
|
|
|
|
|
config MODULE_CPU_COMMON
|
|
|
|
bool
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
default y
|
|
|
|
|
|
|
|
rsource "periph/Kconfig.nrf5x"
|
|
|
|
|
2020-07-03 10:47:11 +02:00
|
|
|
source "$(RIOTCPU)/cortexm_common/Kconfig"
|