nimble/controller: Allow 2M and Coded PHYs only on nRF52840

Other SoCs only support 1M officially.

X-Original-Commit: 64758da50a8feac6340be4f4ceaffa2f25ac7821
This commit is contained in:
Andrzej Kaczmarek
2017-06-27 11:01:14 +02:00
parent b0235a4f90
commit b99f4d0760
@@ -26,6 +26,14 @@
extern "C" {
#endif
#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_2M_PHY) && !MYNEWT_VAL(BSP_NRF52840)
#error LE 2M PHY can only be enabled on nRF52840
#endif
#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_CODED_PHY) && !MYNEWT_VAL(BSP_NRF52840)
#error LE Coded PHY can only be enabled on nRF52840
#endif
/* Forward declarations */
struct os_mbuf;