feat(esp_rom): include rom.mbedtls.eco4.ld with C2 rev2.0(ECO4) select

This commit is contained in:
Jiang Guang Ming 2024-08-30 15:55:31 +08:00
parent 2ee77ff20f
commit 6976a43ad3

View File

@ -225,6 +225,10 @@ else() # Regular app build
if(CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL)
rom_linker_script("mbedtls")
# For ESP32C2(ECO4), mbedTLS in ROM has been updated to v3.6.0-LTS
if(CONFIG_ESP32C2_REV_MIN_FULL GREATER_EQUAL 200)
rom_linker_script("mbedtls.eco4")
endif()
endif()
if(CONFIG_NEWLIB_NANO_FORMAT)