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_CODE_DENSITY

Code Density Option

Type: bool

Help

Enable code density option to get better code density

Direct dependencies

SOC_ARC_HSDK || ARC

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At soc/arc/snps_arc_hsdk/Kconfig.defconfig:30

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config CODE_DENSITY
    bool
    default y
    depends on SOC_ARC_HSDK

At arch/arc/Kconfig:248

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

Menu path: (Top) → ARC Options → ARC CPU Options

config CODE_DENSITY
    bool "Code Density Option"
    depends on ARC
    help
      Enable code density option to get better code density

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