Allow boards to append to overrides
This commit is contained in:
parent
d9ea888323
commit
00944ec677
3 changed files with 27 additions and 0 deletions
|
@ -89,6 +89,12 @@ static struct ble_beacond_config {
|
|||
char adv_name[BLE_ADV_NAME_BUF_LEN];
|
||||
} beacond_config = { .interval = BLE_ADV_INTERVAL };
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#ifdef RF_BLE_CONF_BOARD_OVERRIDES
|
||||
#define RF_BLE_BOARD_OVERRIDES RF_BLE_CONF_BOARD_OVERRIDES
|
||||
#else
|
||||
#define RF_BLE_BOARD_OVERRIDES
|
||||
#endif
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* BLE overrides */
|
||||
static uint32_t ble_overrides[] = {
|
||||
0x00364038, /* Synth: Set RTRIM (POTAILRESTRIM) to 6 */
|
||||
|
@ -97,6 +103,7 @@ static uint32_t ble_overrides[] = {
|
|||
0xEAE00603, /* Synth: Set loop bandwidth after lock to 80 kHz (K3, LSB) */
|
||||
0x00010623, /* Synth: Set loop bandwidth after lock to 80 kHz (K3, MSB) */
|
||||
0x00456088, /* Adjust AGC reference level */
|
||||
RF_BLE_BOARD_OVERRIDES
|
||||
0xFFFFFFFF, /* End of override list */
|
||||
};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue