1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/nrfx_common: Add Kconfig symbols

This commit is contained in:
Leandro Lanzieri 2020-07-03 10:47:11 +02:00
parent 046bf64046
commit 31b288443a
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
3 changed files with 58 additions and 6 deletions

57
cpu/nrf5x_common/Kconfig Normal file
View File

@ -0,0 +1,57 @@
# 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_PERIPH_CPUID
select HAS_PERIPH_FLASHPAGE
select HAS_PERIPH_FLASHPAGE_RAW
select HAS_PERIPH_GPIO
select HAS_PERIPH_GPIO_IRQ
select HAS_PERIPH_HWRNG
select HAS_PERIPH_TEMPERATURE
select HAS_PERIPH_UART_MODECFG
select HAS_PERIPH_WDT
select HAS_PERIPH_WDT_CB
select HAS_BLE_NIMBLE
select HAS_RADIO_NRFBLE
select HAS_RADIO_NRFMIN
select HAS_PUF_SRAM
## Definition of specific features
config HAS_BOOTLOADER_NRFUTIL
bool
help
Indicates that the nRF Util bootloader is being used.
config HAS_BLE_NIMBLE
bool
help
Indicates that the NimBLE stack is supported on the current platform.
config HAS_BLE_NIMBLE_NETIF
bool
help
Indicates that NimBLE netif is supported on the current platform.
config HAS_RADIO_NRFBLE
bool
help
Indicates that a BLE-compatible nRF radio is present.
config HAS_RADIO_NRFMIN
bool
help
Indicates that a radio compatible with the nRF minimal radio driver is
present.
config HAS_BLE_NORDIC_SOFTDEVICE
bool
help
Indicates that Nordic SoftDevice support in RIOT has been verified on the
current platform.
source "$(RIOTCPU)/cortexm_common/Kconfig"

View File

@ -14,4 +14,4 @@ FEATURES_PROVIDED += radio_nrfble
FEATURES_PROVIDED += radio_nrfmin
FEATURES_PROVIDED += puf_sram
-include $(RIOTCPU)/cortexm_common/Makefile.features
include $(RIOTCPU)/cortexm_common/Makefile.features

View File

@ -42,11 +42,6 @@ config HAS_BOOTLOADER_ARDUINO
help
Indicates that the Arduino bootloader is used.
config HAS_BOOTLOADER_NRFUTIL
bool
help
Indicates that the NRF Util bootloader is used.
config HAS_CPP
bool
help