Skip to content

Commit

Permalink
Add coded PHY support for nRF52833 and nRF52820
Browse files Browse the repository at this point in the history
  • Loading branch information
h2zero committed Jun 23, 2024
1 parent 6e1ad0f commit eb909e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/nimble/nimble/drivers/nrf52/src/ble_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@
#endif

#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_CODED_PHY)
#if !MYNEWT_VAL_CHOICE(MCU_TARGET, nRF52840) && !MYNEWT_VAL_CHOICE(MCU_TARGET, nRF52811)
#error LE Coded PHY can only be enabled on nRF52811 or nRF52840
#if !MYNEWT_VAL_CHOICE(MCU_TARGET, nRF52840) && !MYNEWT_VAL_CHOICE(MCU_TARGET, nRF52811) && \
!MYNEWT_VAL_CHOICE(MCU_TARGET, nRF52833) && !MYNEWT_VAL_CHOICE(MCU_TARGET, nRF52820)
#error LE Coded PHY can only be enabled on nRF52811, nRF52840, nRF52833 or nRF52820
#endif
#endif

Expand Down

0 comments on commit eb909e6

Please sign in to comment.