mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
CMake: fix some issues for CMake
This commit is contained in:
@ -53,7 +53,7 @@ else()
|
|||||||
"hwcrypto/sha.c")
|
"hwcrypto/sha.c")
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
||||||
|
|
||||||
set(COMPONENT_REQUIRES driver tcpip_adapter esp_event efuse)
|
set(COMPONENT_REQUIRES driver tcpip_adapter esp_event efuse esp_debug)
|
||||||
# driver is a public requirement because esp_sleep.h uses gpio_num_t & touch_pad_t
|
# driver is a public requirement because esp_sleep.h uses gpio_num_t & touch_pad_t
|
||||||
# tcpip_adapter is a public requirement because esp_event.h uses tcpip_adapter types
|
# tcpip_adapter is a public requirement because esp_event.h uses tcpip_adapter types
|
||||||
# app_update is added here because cpu_start.c uses esp_ota_get_app_description() function.
|
# app_update is added here because cpu_start.c uses esp_ota_get_app_description() function.
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
idf_build_get_property(target IDF_TARGET)
|
set(COMPONENT_SRCS "src/esp_debug.c")
|
||||||
|
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
||||||
|
|
||||||
set(srcs "src/esp_debug.c")
|
set(COMPONENT_PRIV_REQUIRES "lwip" "app_update" "esp32")
|
||||||
|
|
||||||
set(include_dirs
|
register_component()
|
||||||
lwip/port/esp32/include
|
|
||||||
)
|
|
||||||
|
|
||||||
idf_component_register(SRCS "${srcs}"
|
|
||||||
INCLUDE_DIRS include
|
|
||||||
PRIV_INCLUDE_DIRS
|
|
||||||
REQUIRES esp_event lwip
|
|
||||||
PRIV_REQUIRES "${target}")
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
set(COMPONENT_PRIV_INCLUDEDIRS "include_core_dump")
|
set(COMPONENT_PRIV_INCLUDEDIRS "include_core_dump")
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
||||||
set(COMPONENT_REQUIRES)
|
set(COMPONENT_REQUIRES)
|
||||||
set(COMPONENT_PRIV_REQUIRES spi_flash)
|
set(COMPONENT_PRIV_REQUIRES spi_flash app_update)
|
||||||
set(COMPONENT_ADD_LDFRAGMENTS linker.lf)
|
set(COMPONENT_ADD_LDFRAGMENTS linker.lf)
|
||||||
set(COMPONENT_SRCS "src/core_dump_common.c"
|
set(COMPONENT_SRCS "src/core_dump_common.c"
|
||||||
"src/core_dump_flash.c"
|
"src/core_dump_flash.c"
|
||||||
|
Reference in New Issue
Block a user