mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
cc253x: use a uint8_t for sleep_flag
__bit variables must be located after the 0x20 address This force the stack to start after 0x20, thus decrease the stack size by a considerable amount.
This commit is contained in:
parent
44bcabe89c
commit
666ff6ca55
@ -48,7 +48,7 @@
|
|||||||
#define TICK_VAL (32768/128) /* 256 */
|
#define TICK_VAL (32768/128) /* 256 */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
#if CLOCK_CONF_STACK_FRIENDLY
|
#if CLOCK_CONF_STACK_FRIENDLY
|
||||||
volatile __bit sleep_flag;
|
volatile uint8_t sleep_flag;
|
||||||
#else
|
#else
|
||||||
#endif
|
#endif
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
@ -40,7 +40,7 @@ PROCESS_NAME(viztool_process);
|
|||||||
#endif
|
#endif
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
#if CLOCK_CONF_STACK_FRIENDLY
|
#if CLOCK_CONF_STACK_FRIENDLY
|
||||||
extern volatile __bit sleep_flag;
|
extern volatile uint8_t sleep_flag;
|
||||||
#endif
|
#endif
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
extern rimeaddr_t rimeaddr_node_addr;
|
extern rimeaddr_t rimeaddr_node_addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user