mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
891f0db31d
Implements function to dump GCOV data to host via JTAG. The following functionality was added: - Host file I/O - GCOV runtime I/O stubs - GCOV example
30 lines
513 B
Makefile
30 lines
513 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
COMPONENT_SRCDIRS := .
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS = include
|
|
|
|
COMPONENT_ADD_LDFLAGS = -lapp_trace
|
|
|
|
# do not produce gcov info for this module, it is used as transport for gcov
|
|
CFLAGS := $(subst --coverage,,$(CFLAGS))
|
|
|
|
ifdef CONFIG_SYSVIEW_ENABLE
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS += \
|
|
sys_view/Config \
|
|
sys_view/SEGGER \
|
|
sys_view/Sample/OS
|
|
|
|
COMPONENT_SRCDIRS += \
|
|
gcov \
|
|
sys_view/SEGGER \
|
|
sys_view/Sample/OS \
|
|
sys_view/Sample/Config \
|
|
sys_view/esp32
|
|
else
|
|
COMPONENT_SRCDIRS += gcov
|
|
endif
|