mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
eh_frame_parser is architecture independent, thus the files have been rearchitectured. Some bugs have been fixed in the test. A README file has also been added to eh_frame_parser host test directory. eh_frame_parser is now able to detect empty gaps in .eh_frame_hdr table (missing DWARF information). Fix a bug occuring when parsing backtraces originated from abort(). Fix build missing dependencies issue.
36 lines
1.0 KiB
CMake
36 lines
1.0 KiB
CMake
idf_build_get_property(target IDF_TARGET)
|
|
|
|
set(priv_requires efuse)
|
|
set(requires soc)
|
|
if(${target} STREQUAL "esp32")
|
|
list(APPEND requires efuse)
|
|
endif()
|
|
|
|
set(priv_requires efuse)
|
|
|
|
set(srcs "compare_set.c" "cpu_util.c")
|
|
if(NOT BOOTLOADER_BUILD)
|
|
list(APPEND srcs "esp_async_memcpy.c"
|
|
"esp_clk.c"
|
|
"clk_ctrl_os.c"
|
|
"hw_random.c"
|
|
"intr_alloc.c"
|
|
"mac_addr.c"
|
|
"sleep_modes.c"
|
|
"regi2c_ctrl.c")
|
|
list(APPEND priv_requires esp_ipc)
|
|
else()
|
|
# Requires "_esp_error_check_failed()" function
|
|
list(APPEND priv_requires "esp_system")
|
|
endif()
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
INCLUDE_DIRS include include/soc
|
|
PRIV_INCLUDE_DIRS port/include
|
|
REQUIRES ${requires}
|
|
PRIV_REQUIRES ${priv_requires}
|
|
LDFRAGMENTS linker.lf)
|
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
add_subdirectory(port/${target})
|