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:
Sudeep Mohanty
2026-08-20 14:01:19 +02:00
parent f15c6b7fef
commit 0a252a985d
+4 -2
View File
@@ -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"