Skip to content

Commit

Permalink
gcov: Add coverage supported boards.
Browse files Browse the repository at this point in the history
Not all boards can get the coverage reports. The report generation
needs minimum of 64KB SRAM. This patch added support for mps2_an385,
qemu_cortex_m3, qemu_x86. This is just a subset. Also the previously
supported board native_posix is included in this patch.

If a board has 64KB RAM, it can generate reports by just
adding HAS_COVERAGE_SUPPORT in Kconfig.board.

Signed-off-by: Adithya Baglody <[email protected]>
  • Loading branch information
AdithyaBaglody authored and nashif committed Jan 16, 2019
1 parent 131edad commit 777407b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/arm/mps2_an385/Kconfig.board
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
config BOARD_MPS2_AN385
bool "ARM Cortex-M3 SMM on V2M-MPS2 (Application Note AN385)"
depends on SOC_MPS2_AN385
select HAS_COVERAGE_SUPPORT
1 change: 1 addition & 0 deletions boards/posix/native_posix/Kconfig.board
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ config BOARD_NATIVE_POSIX
depends on SOC_POSIX
select NATIVE_POSIX_TIMER
select NATIVE_POSIX_CONSOLE
select HAS_COVERAGE_SUPPORT
help
Will produce a console Linux process which can be executed natively.
It provides some minimal needed models:
Expand Down
1 change: 1 addition & 0 deletions boards/x86/qemu_x86/Kconfig.board
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ config BOARD_QEMU_X86
select QEMU_TARGET
select HAS_DTS_ETHERNET
select CPU_HAS_FPU if !X86_IAMCU
select HAS_COVERAGE_SUPPORT

0 comments on commit 777407b

Please sign in to comment.