cc1200 flags for TSCH
This commit is contained in:
parent
f79a19eaab
commit
ce0f95ec50
@ -96,7 +96,11 @@ static rtimer_clock_t sfd_timestamp = 0;
|
||||
*
|
||||
* TODO: Option to be removed upon approval of the driver
|
||||
*/
|
||||
#if MAC_CONF_WITH_TSCH
|
||||
#define USE_SFSTXON 0
|
||||
#else /* MAC_CONF_WITH_TSCH */
|
||||
#define USE_SFSTXON 1
|
||||
#endif /* MAC_CONF_WITH_TSCH */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Phy header length */
|
||||
#if CC1200_802154G
|
||||
@ -136,7 +140,15 @@ static rtimer_clock_t sfd_timestamp = 0;
|
||||
/* Use GPIO2 as RX / TX FIFO threshold indicator pin */
|
||||
#define GPIO2_IOCFG CC1200_IOCFG_RXFIFO_THR
|
||||
/* This is the FIFO threshold we use */
|
||||
#if MAC_CONF_WITH_TSCH
|
||||
#if CC1200_802154G
|
||||
#define FIFO_THRESHOLD 1
|
||||
#else
|
||||
#define FIFO_THRESHOLD 0
|
||||
#endif
|
||||
#else /* MAC_CONF_WITH_TSCH */
|
||||
#define FIFO_THRESHOLD 32
|
||||
#endif /* MAC_CONF_WITH_TSCH */
|
||||
/* Turn on RX after packet reception */
|
||||
#define RXOFF_MODE_RX 1
|
||||
/* Let the CC1200 append RSSI + LQI */
|
||||
|
Loading…
Reference in New Issue
Block a user