Make the CC2538 secondary IEEE address location configurable

This commit is contained in:
George Oikonomou 2014-06-06 18:15:07 +01:00
parent 66edb5b263
commit 623d6084e7

View File

@ -57,10 +57,19 @@
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** /**
* \name IEEE address locations * \name IEEE address locations
*
* The address of the secondary location can be configured by the platform
* or example
*
* @{ * @{
*/ */
#define IEEE_ADDR_LOCATION_PRIMARY 0x00280028 /**< IEEE address location */ #define IEEE_ADDR_LOCATION_PRIMARY 0x00280028 /**< Primary IEEE address location */
#define IEEE_ADDR_LOCATION_SECONDARY 0x0027FFCC /**< IEEE address location */
#ifdef IEEE_ADDR_CONF_LOCATION_SECONDARY
#define IEEE_ADDR_LOCATION_SECONDARY IEEE_ADDR_CONF_LOCATION_SECONDARY
#else
#define IEEE_ADDR_LOCATION_SECONDARY 0x0027FFCC /**< Secondary IEEE address location */
#endif
/** @} */ /** @} */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** /**