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

kconfig: add ble_phy_x feature and mapping

This commit is contained in:
Hauke Petersen 2021-12-02 23:30:22 +01:00
parent 96163aa380
commit 00393e8214
2 changed files with 16 additions and 0 deletions

View File

@ -12,6 +12,8 @@ config CPU_FAM_NRF52
# So far, NimBLE netif does not support nrf51 platforms, so we use a dedicated
# feature to mark this
select HAS_BLE_NIMBLE_NETIF
# All nrf52s support the 2Mbit PHY mode
select HAS_BLE_PHY_2MBIT
select HAS_CORTEXM_MPU
select HAS_CPU_NRF52
select HAS_PERIPH_I2C_RECONFIGURE
@ -33,6 +35,7 @@ config CPU_MODEL_NRF52811XXAA
bool
select CPU_CORE_CORTEX_M4
select CPU_FAM_NRF52
select HAS_BLE_PHY_CODED
select HAS_RADIO_NRF802154
select HAS_PERIPH_UART_NONBLOCKING
@ -40,6 +43,7 @@ config CPU_MODEL_NRF52820XXAA
bool
select CPU_CORE_CORTEX_M4
select CPU_FAM_NRF52
select HAS_BLE_PHY_CODED
select HAS_RADIO_NRF802154
select HAS_PERIPH_UART_NONBLOCKING
@ -52,6 +56,7 @@ config CPU_MODEL_NRF52833XXAA
bool
select CPU_CORE_CORTEX_M4F
select CPU_FAM_NRF52
select HAS_BLE_PHY_CODED
select HAS_RADIO_NRF802154
select HAS_PERIPH_UART_NONBLOCKING
@ -59,6 +64,7 @@ config CPU_MODEL_NRF52840XXAA
bool
select CPU_CORE_CORTEX_M4F
select CPU_FAM_NRF52
select HAS_BLE_PHY_CODED
select HAS_RADIO_NRF802154
select HAS_PERIPH_UART_NONBLOCKING

View File

@ -33,6 +33,16 @@ config HAS_BLE_NIMBLE_NETIF
help
Indicates that NimBLE netif is supported on the current platform.
config HAS_BLE_PHY_2MBIT
bool
help
Indicates that the BLE radio supports the 2Mbit PHY mode
config HAS_BLE_PHY_CODED
bool
help
Indicates that the BLE radio supports the CODED PHY mode
config HAS_RADIO_NRFBLE
bool
select HAVE_NRF5X_RADIO