This is the documentation for the latest (master) 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_COVERAGE

Create coverage data

Type: bool

Help

This option will build your application with the -coverage option which will generate data that can be used to create coverage reports. For more information see https://docs.zephyrproject.org/latest/guides/coverage.html

Direct dependencies

HAS_COVERAGE_SUPPORT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/testsuite/Kconfig:39

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:36

Menu path: (Top) → Testing

config COVERAGE
    bool "Create coverage data"
    depends on HAS_COVERAGE_SUPPORT
    help
      This option will build your application with the -coverage option
      which will generate data that can be used to create coverage reports.
      For more information see
      https://docs.zephyrproject.org/latest/guides/coverage.html

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