[cc2538] add 1K stack space (#3385)

In the observed deepest CoAP process when handling JOIN_FIN, the large
local variables in the nested calls may take up to 2.5K, among with
the three local CoAP headers would add about extra 1K since #3210 which
increases CoAP header from 128 to 512.

This commit adjusts stack to be of 5K by increasing 1K to help commissioning
process goes correctly.
This commit is contained in:
Rongli Sun
2018-12-18 09:29:39 -08:00
committed by Jonathan Hui
parent 3e1b9aacb7
commit a7f4283e5d
+1 -1
View File
@@ -76,7 +76,7 @@ extern void RFCoreRxTxIntHandler(void);
extern void RFCoreErrIntHandler(void);
extern void main(void);
static uint64_t stack[512] __attribute__((section(".stack")));
static uint64_t stack[640] __attribute__((section(".stack")));
__attribute__((section(".vectors"), used)) void (*const vectors[])(void) = {
(void (*)(void))((unsigned long)stack + sizeof(stack)), // Initial Stack Pointer