mirror of
https://github.com/espressif/openthread.git
synced 2026-09-05 08:40:06 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user