This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ISR_STACK_SIZE

ISR and initialization stack size (in bytes)

Type: int

Help

This option specifies the size of the stack used by interrupt
service routines (ISRs), and during kernel initialization.

Defaults

  • 4096

  • 2048

  • 2048

  • 4096 if 64BIT

  • 4096

  • 4096

  • 16384

  • 2048

Kconfig definitions

At boards/arm/mps2_an385/Kconfig.defconfig:58

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config ISR_STACK_SIZE
    int
    default 4096
    depends on COVERAGE && BOARD_MPS2_AN385

At soc/riscv/esp32c3/Kconfig.defconfig:29

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config ISR_STACK_SIZE
    int
    default 2048
    depends on SOC_ESP32C3

At soc/xtensa/esp32s2/Kconfig.defconfig:20

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config ISR_STACK_SIZE
    int
    default 2048
    depends on SOC_ESP32S2

At arch/arc/Kconfig:357

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

Menu path: (Top)

config ISR_STACK_SIZE
    int
    default 4096 if 64BIT

At arch/arm64/core/Kconfig:60

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/arm64/Kconfig:32

Menu path: (Top) → ARM64 Options

config ISR_STACK_SIZE
    int
    default 4096
    depends on ARM64

At arch/sparc/Kconfig:44

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

Menu path: (Top) → SPARC Options

config ISR_STACK_SIZE
    int
    default 4096
    depends on SPARC

At arch/x86/core/Kconfig.intel64:14

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/x86/Kconfig:483

Menu path: (Top) → X86 Architecture Options

config ISR_STACK_SIZE
    int
    default 16384
    depends on X86_64 && X86

At kernel/Kconfig:166

Included via Kconfig:8Kconfig.zephyr:40

Menu path: (Top) → General Kernel Options

config ISR_STACK_SIZE
    int "ISR and initialization stack size (in bytes)"
    default 2048
    help
      This option specifies the size of the stack used by interrupt
      service routines (ISRs), and during kernel initialization.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)