From fe70b5f987eb04a17c11acea654f33f02bacc83b Mon Sep 17 00:00:00 2001 From: jiangguangming Date: Wed, 26 Oct 2022 16:17:56 +0800 Subject: [PATCH] esp_rom: put rom tlsf patch code in iram by default --- components/esp_rom/linker.lf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_rom/linker.lf b/components/esp_rom/linker.lf index 5bc9feba23..38af2aecdc 100644 --- a/components/esp_rom/linker.lf +++ b/components/esp_rom/linker.lf @@ -3,5 +3,7 @@ archive: libesp_rom.a entries: esp_rom_spiflash (noflash) esp_rom_regi2c (noflash) + if HEAP_TLSF_USE_ROM_IMPL = y && ESP_ROM_TLSF_CHECK_PATCH = y: + esp_rom_tlsf (noflash) if SOC_SYSTIMER_SUPPORTED = y: esp_rom_systimer (noflash)