Move existing core dump files into espcoredump component folder Add KConfig, linker.lf, make and CMakeList.txt for new component Existing functionality separated into core_dump_common, core_dump_flash, core_dump_uart Update test_core_dump.c and make files to link it as unit test Update according to review: Move target and RTOS related functionality into separated file (core_dump_port.c).
13 lines
327 B
Makefile
13 lines
327 B
Makefile
ifeq ($(TESTS_ALL),1)
|
|
$(info not linking coredump tests from CI)
|
|
else
|
|
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive
|
|
COMPONENT_SRCDIRS := .
|
|
COMPONENT_ADD_INCLUDEDIRS := .
|
|
COMPONENT_PRIV_INCLUDEDIRS := .
|
|
COMPONENT_REQUIRES := unity nvs_flash
|
|
endif # TESTS_ALL
|
|
|
|
|
|
|
|
|