The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_COVERAGE_GCOV

Create Coverage data from hardware platform

Type: bool

Help

This option will select the custom gcov library. The reports will
be available over serial. This serial dump can be passed to
gen_gcov_files.py which creates the required .gcda files. These
can be read by gcov utility. For more details see gcovr.com .

Direct dependencies

COVERAGE && !NATIVE_APPLICATION

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/testsuite/Kconfig:42

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:61

Menu path: (Top) → Sub Systems and OS Services → Testing → Create coverage data

config COVERAGE_GCOV
    bool "Create Coverage data from hardware platform"
    default y
    depends on COVERAGE && !NATIVE_APPLICATION
    help
      This option will select the custom gcov library. The reports will
      be available over serial. This serial dump can be passed to
      gen_gcov_files.py which creates the required .gcda files. These
      can be read by gcov utility. For more details see gcovr.com .

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