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:
parent
046bf64046
commit
31b288443a
57
cpu/nrf5x_common/Kconfig
Normal file
57
cpu/nrf5x_common/Kconfig
Normal 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"
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user