mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
Merge branch 'feature/add_isr_stk_config' into 'master'
Add configuration for interrupt stack size See merge request sdk/ESP8266_RTOS_SDK!479
This commit is contained in:
@ -22,5 +22,12 @@ config FREERTOS_MAX_HOOK
|
||||
default 2
|
||||
help
|
||||
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
|
||||
|
@ -124,9 +124,6 @@ STRUCT_END(HighPriFrame)
|
||||
|
||||
#define PANIC_STK_FRMSZ 0x60
|
||||
|
||||
|
||||
#define CHIP_INTERRUPT_STK_MAX 1024
|
||||
|
||||
.global panicHandler
|
||||
|
||||
// Allocate save area and stack:
|
||||
@ -166,7 +163,7 @@ LABEL(_Pri_,_NMICount): .space 4
|
||||
.global _chip_interrupt_stk, _chip_interrupt_tmp
|
||||
.align 16
|
||||
_chip_interrupt_stk:
|
||||
.space CHIP_INTERRUPT_STK_MAX
|
||||
.space CONFIG_FREERTOS_ISR_STACKSIZE
|
||||
_chip_interrupt_tmp:
|
||||
.word 0
|
||||
|
||||
|
Reference in New Issue
Block a user