cpu/cc2538/cpu_conf: add OpenWSN conf
This commit is contained in:
parent
82e06ef8f4
commit
1b8c78219b
@ -43,6 +43,19 @@ extern "C" {
|
|||||||
#define CPU_HAS_BITBAND (1)
|
#define CPU_HAS_BITBAND (1)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @name OpenWSN timing constants
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/* Taken from openwsn-fw */
|
||||||
|
#define PORT_maxTxDataPrepare (460/PORT_US_PER_TICK)
|
||||||
|
#define PORT_maxRxAckPrepare (300/PORT_US_PER_TICK)
|
||||||
|
#define PORT_maxRxDataPrepare (300/PORT_US_PER_TICK)
|
||||||
|
#define PORT_maxTxAckPrepare (460/PORT_US_PER_TICK)
|
||||||
|
#define PORT_delayTx (400/PORT_US_PER_TICK)
|
||||||
|
/** @} */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* end extern "C" */
|
} /* end extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user