diff --git a/components/hal/linker.lf b/components/hal/linker.lf index 16084fd7f7..6d0b2d5e7b 100644 --- a/components/hal/linker.lf +++ b/components/hal/linker.lf @@ -13,11 +13,8 @@ entries: cpu_hal (noflash) soc_hal (noflash) wdt_hal_iram (noflash) - if IDF_TARGET_ESP32C3 = n: - if TWAI_ISR_IN_IRAM = y: - twai_hal_iram (noflash) - else: - twai_hal_iram (default) + if TWAI_ISR_IN_IRAM = y: + twai_hal_iram (noflash) if IDF_TARGET_ESP32 = n: spi_flash_hal_gpspi (noflash) systimer_hal (noflash)