cpu/cc2538/cpu_conf: add OpenWSN conf

This commit is contained in:
Francisco Molina 2020-10-05 13:57:50 +02:00
parent 82e06ef8f4
commit 1b8c78219b
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -43,6 +43,19 @@ extern "C" {
#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
} /* end extern "C" */
#endif