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

@ -32,6 +32,10 @@ extern void spi_rx_dma_callback(void);
*
* if callback defined a poll is made to that process
*/
#pragma save
#if CC_CONF_OPTIMIZE_STACK_SIZE
#pragma exclude bits
#endif
void
dma_ISR(void) __interrupt (DMA_VECTOR)
{
@ -65,4 +69,5 @@ dma_ISR(void) __interrupt (DMA_VECTOR)
#endif
EA = 1;
}
#pragma restore
/*---------------------------------------------------------------------------*/