The latest development version of this page may be more current than this released 1.14.1 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

!NATIVE_APPLICATION && COVERAGE

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/testsuite/Kconfig:49

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:38

Menu path: (top menu) → Testing

config COVERAGE_GCOV
    bool
    prompt "Create Coverage data from hardware platform" if !NATIVE_APPLICATION && COVERAGE
    default "y" if !NATIVE_APPLICATION && COVERAGE
    depends on !NATIVE_APPLICATION && COVERAGE
    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 .

(Definitions include propagated dependencies, including from if’s and menus.)