forked from espressif/esp-idf
esp_hw_support: Update build system support for mergin esp_ds.c files
into one
This commit is contained in:
@@ -57,6 +57,10 @@ if(NOT BOOTLOADER_BUILD)
|
|||||||
list(APPEND srcs "esp_etm.c")
|
list(APPEND srcs "esp_etm.c")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_SOC_DIG_SIGN_SUPPORTED)
|
||||||
|
list(APPEND srcs "esp_ds.c")
|
||||||
|
endif()
|
||||||
|
|
||||||
# ESP32C6-TODO
|
# ESP32C6-TODO
|
||||||
if(CONFIG_IDF_TARGET_ESP32C6)
|
if(CONFIG_IDF_TARGET_ESP32C6)
|
||||||
list(REMOVE_ITEM srcs
|
list(REMOVE_ITEM srcs
|
||||||
|
@@ -4,11 +4,11 @@ set(srcs "rtc_clk_init.c"
|
|||||||
"rtc_pm.c"
|
"rtc_pm.c"
|
||||||
"rtc_sleep.c"
|
"rtc_sleep.c"
|
||||||
"rtc_time.c"
|
"rtc_time.c"
|
||||||
"chip_info.c")
|
"chip_info.c"
|
||||||
|
)
|
||||||
|
|
||||||
if(NOT BOOTLOADER_BUILD)
|
if(NOT BOOTLOADER_BUILD)
|
||||||
list(APPEND srcs "esp_crypto_lock.c"
|
list(APPEND srcs "esp_crypto_lock.c"
|
||||||
"esp_ds.c"
|
|
||||||
"sar_periph_ctrl.c")
|
"sar_periph_ctrl.c")
|
||||||
|
|
||||||
# init constructor for wifi
|
# init constructor for wifi
|
||||||
|
@@ -4,11 +4,11 @@ set(srcs "rtc_clk_init.c"
|
|||||||
"rtc_pm.c"
|
"rtc_pm.c"
|
||||||
"rtc_sleep.c"
|
"rtc_sleep.c"
|
||||||
"rtc_time.c"
|
"rtc_time.c"
|
||||||
"chip_info.c")
|
"chip_info.c"
|
||||||
|
)
|
||||||
|
|
||||||
if(NOT BOOTLOADER_BUILD)
|
if(NOT BOOTLOADER_BUILD)
|
||||||
list(APPEND srcs "esp_crypto_lock.c"
|
list(APPEND srcs "esp_crypto_lock.c"
|
||||||
"esp_ds.c"
|
|
||||||
"sar_periph_ctrl.c")
|
"sar_periph_ctrl.c")
|
||||||
|
|
||||||
if(CONFIG_ESP_SYSTEM_MEMPROT_FEATURE)
|
if(CONFIG_ESP_SYSTEM_MEMPROT_FEATURE)
|
||||||
|
@@ -13,7 +13,6 @@ set(srcs
|
|||||||
if(NOT BOOTLOADER_BUILD)
|
if(NOT BOOTLOADER_BUILD)
|
||||||
list(APPEND srcs "memprot.c"
|
list(APPEND srcs "memprot.c"
|
||||||
"esp_crypto_lock.c"
|
"esp_crypto_lock.c"
|
||||||
"esp_ds.c"
|
|
||||||
"sar_periph_ctrl.c")
|
"sar_periph_ctrl.c")
|
||||||
|
|
||||||
# init constructor for wifi
|
# init constructor for wifi
|
||||||
|
@@ -8,11 +8,11 @@ set(srcs
|
|||||||
"rtc_pm.c"
|
"rtc_pm.c"
|
||||||
"rtc_sleep.c"
|
"rtc_sleep.c"
|
||||||
"rtc_time.c"
|
"rtc_time.c"
|
||||||
"chip_info.c")
|
"chip_info.c"
|
||||||
|
)
|
||||||
|
|
||||||
if(NOT BOOTLOADER_BUILD)
|
if(NOT BOOTLOADER_BUILD)
|
||||||
list(APPEND srcs "esp_ds.c"
|
list(APPEND srcs "esp_crypto_lock.c"
|
||||||
"esp_crypto_lock.c"
|
|
||||||
"sar_periph_ctrl.c")
|
"sar_periph_ctrl.c")
|
||||||
|
|
||||||
if(CONFIG_ESP_SYSTEM_MEMPROT_FEATURE)
|
if(CONFIG_ESP_SYSTEM_MEMPROT_FEATURE)
|
||||||
|
Reference in New Issue
Block a user