CONFIG_LINKER_USE_PINNED_SECTION

Enable Usage of Pinned Linker Section

Type: bool

Help

If enabled, the symbols which need to be pinned in memory
will be put into another linker section reserved for pinned
symbols. During boot, the corresponding memory will be marked
as pinned.

Requires that pinned sections exist in the architecture, SoC,
board or custom linker script.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/Kconfig.zephyr:231

Included via <Zephyr>/Kconfig:8

Menu path: (Top) → Build and Link Features → Linker Options → Linker Sections

config LINKER_USE_PINNED_SECTION
    bool "Enable Usage of Pinned Linker Section"
    help
      If enabled, the symbols which need to be pinned in memory
      will be put into another linker section reserved for pinned
      symbols. During boot, the corresponding memory will be marked
      as pinned.

      Requires that pinned sections exist in the architecture, SoC,
      board or custom linker script.

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