Sensinode/cc2430 stack depth optimisation

This replicates the method used by the cc2530 port
This commit is contained in:
George Oikonomou 2012-09-07 14:48:15 +01:00
parent 067fabe0f9
commit 95b9d4ee29
11 changed files with 72 additions and 6 deletions

View file

@ -65,12 +65,13 @@
#include "dev/n740.h"
#include "dev/uart1.h"
#include "8051def.h"
/*
* This variable stores the most recent instruction sent to the ser-par chip.
* We declare it as static and return its value through n740_ser_par_get().
*/
static __data uint8_t ser_par_status;
static CC_AT_DATA uint8_t ser_par_status;
/*---------------------------------------------------------------------------*/
/* Init the serial-parallel chip: