mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-18 11:36:11 +08:00
feat(freertos): Add configuration for interrupt stack size
This commit is contained in:
@ -23,4 +23,11 @@ config FREERTOS_MAX_HOOK
|
|||||||
help
|
help
|
||||||
configurate the max number of FreeRTOS hook function.
|
configurate the max number of FreeRTOS hook function.
|
||||||
|
|
||||||
|
config FREERTOS_ISR_STACKSIZE
|
||||||
|
int "ISR stack size"
|
||||||
|
range 512 8192
|
||||||
|
default 512
|
||||||
|
help
|
||||||
|
The interrupt handlers have their own stack. The size of the stack can be defined here.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -124,9 +124,6 @@ STRUCT_END(HighPriFrame)
|
|||||||
|
|
||||||
#define PANIC_STK_FRMSZ 0x60
|
#define PANIC_STK_FRMSZ 0x60
|
||||||
|
|
||||||
|
|
||||||
#define CHIP_INTERRUPT_STK_MAX 1024
|
|
||||||
|
|
||||||
.global panicHandler
|
.global panicHandler
|
||||||
|
|
||||||
// Allocate save area and stack:
|
// Allocate save area and stack:
|
||||||
@ -166,7 +163,7 @@ LABEL(_Pri_,_NMICount): .space 4
|
|||||||
.global _chip_interrupt_stk, _chip_interrupt_tmp
|
.global _chip_interrupt_stk, _chip_interrupt_tmp
|
||||||
.align 16
|
.align 16
|
||||||
_chip_interrupt_stk:
|
_chip_interrupt_stk:
|
||||||
.space CHIP_INTERRUPT_STK_MAX
|
.space CONFIG_FREERTOS_ISR_STACKSIZE
|
||||||
_chip_interrupt_tmp:
|
_chip_interrupt_tmp:
|
||||||
.word 0
|
.word 0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user