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_INCLUDE_RESET_VECTOR

Include Reset vector

Include Reset vector

Type: bool

Help

Include the reset vector stub, which enables instruction/data caches
and then jumps to __start. This code is typically located at the very
beginning of flash memory. You may need to omit this if using the
nios2-download tool since it refuses to load data anywhere other than
RAM.

Help

Include the reset vector stub, which initializes the stack and
prepares for running C code.

Direct dependencies

NIOS2 || RISCV

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At arch/nios2/Kconfig:44

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

Menu path: (Top) → Nios II Options → Nios II Family Options

config INCLUDE_RESET_VECTOR
    bool "Include Reset vector"
    default y
    depends on NIOS2
    help
      Include the reset vector stub, which enables instruction/data caches
      and then jumps to __start. This code is typically located at the very
      beginning of flash memory. You may need to omit this if using the
      nios2-download tool since it refuses to load data anywhere other than
      RAM.

At arch/riscv/Kconfig:46

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

Menu path: (Top) → RISCV Options → RISCV Processor Options

config INCLUDE_RESET_VECTOR
    bool "Include Reset vector"
    depends on RISCV
    help
      Include the reset vector stub, which initializes the stack and
      prepares for running C code.

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