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 ifs and menus.)

Default

  • y

Kconfig definition

At subsys/testsuite/Kconfig:49

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

Menu path: (Top) → Testing → Create coverage data

config COVERAGE_GCOV
    bool "Create Coverage data from hardware platform"
    default y
    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 .

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