Allow boards to append to overrides
This commit is contained in:
parent
d9ea888323
commit
00944ec677
3 changed files with 27 additions and 0 deletions
|
@ -28,9 +28,19 @@
|
|||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#include "contiki-conf.h"
|
||||
|
||||
#include "driverlib/rf_mailbox.h"
|
||||
#include "driverlib/rf_common_cmd.h"
|
||||
#include "driverlib/rf_prop_cmd.h"
|
||||
|
||||
#include <stdint.h>
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#ifdef SMARTRF_SETTINGS_CONF_BOARD_OVERRIDES
|
||||
#define SMARTRF_SETTINGS_BOARD_OVERRIDES SMARTRF_SETTINGS_CONF_BOARD_OVERRIDES
|
||||
#else
|
||||
#define SMARTRF_SETTINGS_BOARD_OVERRIDES
|
||||
#endif
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Overrides for CMD_PROP_RADIO_DIV_SETUP */
|
||||
static uint32_t overrides[] =
|
||||
|
@ -107,6 +117,9 @@ static uint32_t overrides[] =
|
|||
(uint32_t)0x943,
|
||||
(uint32_t)0x963,
|
||||
|
||||
/* Board-specific overrides, if any */
|
||||
SMARTRF_SETTINGS_BOARD_OVERRIDES
|
||||
|
||||
(uint32_t)0xFFFFFFFF,
|
||||
};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue