:orphan: .. title:: RISCV_SOC_OFFSETS .. option:: CONFIG_RISCV_SOC_OFFSETS *Enable SOC-based offsets* Type: ``bool`` Help ==== Enabling this option requires that the SoC provide a soc_offsets.h header which defines the following macros: - GEN_SOC_OFFSET_SYMS(): a macro which expands to GEN_OFFSET_SYM(soc_esf_t, soc_specific_member) calls to ensure offset macros for SOC_ESF_MEMBERS are defined in offsets.h. The last one should not end in a semicolon. See gen_offset.h for more details. Direct dependencies =================== \ :option:`SOC_OPENISA_RV32M1_RISCV32 ` || \ :option:`RISCV ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Symbols that select this symbol =============================== - \ :option:`RISCV_SOC_CONTEXT_SAVE ` Kconfig definitions =================== .. highlight:: kconfig At ``soc/riscv/openisa_rv32m1/Kconfig.defconfig:30`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config RISCV_SOC_OFFSETS bool default y depends on \ :option:`SOC_OPENISA_RV32M1_RISCV32 ` ---- At ``arch/riscv/Kconfig:75`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` Menu path: (Top) → RISCV Options → RISCV Processor Options .. parsed-literal:: config RISCV_SOC_OFFSETS bool "Enable SOC-based offsets" depends on \ :option:`RISCV ` help Enabling this option requires that the SoC provide a soc_offsets.h header which defines the following macros: - GEN_SOC_OFFSET_SYMS(): a macro which expands to GEN_OFFSET_SYM(soc_esf_t, soc_specific_member) calls to ensure offset macros for SOC_ESF_MEMBERS are defined in offsets.h. The last one should not end in a semicolon. See gen_offset.h for more details. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*