From 96163aa380c427f47115da37d1c8051e7b6de1da Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Mon, 13 Sep 2021 14:37:58 +0200 Subject: [PATCH] cpu/nrf52: add features for coded and 2Mbit PHYs --- cpu/nrf52/Makefile.features | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cpu/nrf52/Makefile.features b/cpu/nrf52/Makefile.features index 5ecd6bec3d..60da01d893 100644 --- a/cpu/nrf52/Makefile.features +++ b/cpu/nrf52/Makefile.features @@ -25,4 +25,11 @@ FEATURES_PROVIDED += cortexm_mpu FEATURES_PROVIDED += periph_i2c_reconfigure +# On top of the default 1Mbit PHY mode, all nrf52 support the 2MBit PHY mode, +# and the 52840 does further support the coded PHYs +FEATURES_PROVIDED += ble_phy_2mbit +ifneq (,$(filter nrf52811% nrf52820% nrf52833% nrf52840%,$(CPU_MODEL))) + FEATURES_PROVIDED += ble_phy_coded +endif + include $(RIOTCPU)/nrf5x_common/Makefile.features