mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 10:40:47 +03:00
fix(esp_hw_support): Exclude MSPI alignment helper from bootloader
esp_mspi_align.c resolves PSRAM encryption state through esp_psram, a dependency esp_hw_support declares only outside the no-OS builds. Nothing in the bootloader calls the helper, so drop the source there rather than keep one whose dependency cannot be satisfied. ESP-TEE still builds it, as its mbedtls port calls into it.
This commit is contained in:
@@ -53,8 +53,10 @@ set(priv_requires efuse # only esp_hw_support/adc_share_hw_ctrl.
|
||||
esp_hal_ana_conv # sleep process requires backup/restore some ADC, TSENS registers
|
||||
)
|
||||
|
||||
set(srcs "cpu.c" "port/${IDF_TARGET}/esp_cpu_intr.c" "esp_memory_utils.c" "port/${IDF_TARGET}/cpu_region_protect.c"
|
||||
"mspi/esp_mspi_align/esp_mspi_align.c")
|
||||
set(srcs "cpu.c" "port/${IDF_TARGET}/esp_cpu_intr.c" "esp_memory_utils.c" "port/${IDF_TARGET}/cpu_region_protect.c")
|
||||
if(NOT BOOTLOADER_BUILD)
|
||||
list(APPEND srcs "mspi/esp_mspi_align/esp_mspi_align.c")
|
||||
endif()
|
||||
if(NOT non_os_build)
|
||||
list(APPEND srcs "esp_clk.c"
|
||||
"clk_ctrl_os.c"
|
||||
|
||||
Reference in New Issue
Block a user