Disable CC2650_FAST_RADIO_STARTUP by default
`CC2650_FAST_RADIO_STARTUP` is required for TSCH, but it currently breaks ContikiMAC. We set the default value to the one that will work with the default choice of RDC. Fixes #1744
This commit is contained in:
parent
01a533fb75
commit
3a105f2141
1 changed files with 8 additions and 6 deletions
|
@ -65,6 +65,14 @@
|
||||||
#define NETSTACK_CONF_RDC contikimac_driver
|
#define NETSTACK_CONF_RDC contikimac_driver
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Disable turning off HF oscillator when the radio is off:
|
||||||
|
* You need to set this in order to use TSCH, disable to save more energy.
|
||||||
|
*/
|
||||||
|
#ifndef CC2650_FAST_RADIO_STARTUP
|
||||||
|
#define CC2650_FAST_RADIO_STARTUP 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Configure NullRDC for when it's selected */
|
/* Configure NullRDC for when it's selected */
|
||||||
#define NULLRDC_CONF_802154_AUTOACK 1
|
#define NULLRDC_CONF_802154_AUTOACK 1
|
||||||
|
|
||||||
|
@ -359,12 +367,6 @@ typedef uint32_t rtimer_clock_t;
|
||||||
/* Disable TSCH frame filtering */
|
/* Disable TSCH frame filtering */
|
||||||
#define TSCH_CONF_HW_FRAME_FILTERING 0
|
#define TSCH_CONF_HW_FRAME_FILTERING 0
|
||||||
|
|
||||||
/* Disable turning off HF oscillator when radio is off;
|
|
||||||
enable this for TSCH, disable to save more energy. */
|
|
||||||
#ifndef CC2650_FAST_RADIO_STARTUP
|
|
||||||
#define CC2650_FAST_RADIO_STARTUP 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Use hardware timestamps */
|
/* Use hardware timestamps */
|
||||||
#ifndef TSCH_CONF_RESYNC_WITH_SFD_TIMESTAMPS
|
#ifndef TSCH_CONF_RESYNC_WITH_SFD_TIMESTAMPS
|
||||||
#define TSCH_CONF_RESYNC_WITH_SFD_TIMESTAMPS 1
|
#define TSCH_CONF_RESYNC_WITH_SFD_TIMESTAMPS 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue