Allocate another 1K bytes to CC2538 stack (#654)

Reduce the size of message buffer to save 1k bytes SRAM space for stack.
This commit is contained in:
Shu Chen
2016-09-22 09:40:29 -07:00
committed by Jonathan Hui
parent c806ebbdfc
commit 5fdc27f1f8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ extern void RFCoreRxTxIntHandler(void);
extern void RFCoreErrIntHandler(void);
extern void main(void);
static uint64_t stack[384] __attribute__((section(".stack")));
static uint64_t stack[512] __attribute__((section(".stack")));
__attribute__((section(".vectors"), used))
void (*const vectors[])(void) =
+1 -1
View File
@@ -42,7 +42,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS
#define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 48
#define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 40
#endif // OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS
/**