Skip to content

Commit

Permalink
Change app_config.h to be explicit about peer manager. Ref #2420
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Oct 30, 2023
1 parent f3f765e commit 0c2f640
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion targets/nrf5x/app_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
// Do not include these for NRF51
#define BLE_HIDS_ENABLED 1
#define PEER_MANAGER_ENABLED 1
#else
#else // not NRF51_SERIES
#ifndef CENTRAL_LINK_COUNT
#define CENTRAL_LINK_COUNT 0
#endif
Expand Down Expand Up @@ -153,6 +153,13 @@
#define PPI_ENABLED 1
#define RNG_ENABLED 1
#define SAADC_ENABLED 1
#else // not NRF5X_SDK_12

// on anything newer than SDK12 the processors are big enough that we use peer manager by default
#ifndef PEER_MANAGER_ENABLED
#define PEER_MANAGER_ENABLED 1 // set in sdk_config anyway but we're just being explicit
#endif

#endif // NRF5X_SDK_12

#ifdef NRF5X_SDK_15 // SDK15/NRF52840
Expand Down

0 comments on commit 0c2f640

Please sign in to comment.