diff --git a/components/hal/Kconfig b/components/hal/Kconfig index d414181d7b..fa8588620a 100644 --- a/components/hal/Kconfig +++ b/components/hal/Kconfig @@ -67,6 +67,7 @@ menu "Hardware Abstraction Layer (HAL) and Low Level (LL)" config HAL_SYSTIMER_HAS_ROM_IMPL bool + depends on IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32S3 default y if IDF_TARGET_ESP32C2 # TODO: IDF-4917 config HAL_SYSTIMER_ROM_IMPL @@ -84,6 +85,7 @@ menu "Hardware Abstraction Layer (HAL) and Low Level (LL)" config HAL_WDT_HAS_ROM_IMPL bool + depends on IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32S3 default y if IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32S3 config HAL_WDT_ROM_IMPL diff --git a/components/heap/Kconfig b/components/heap/Kconfig index 6fdd0ab40c..67720aa3ca 100644 --- a/components/heap/Kconfig +++ b/components/heap/Kconfig @@ -73,6 +73,7 @@ menu "Heap memory debugging" config HEAP_HAS_ROM_IMPL bool + depends on IDF_TARGET_ESP32C2 default y if IDF_TARGET_ESP32C2 config HEAP_ROM_IMPL diff --git a/components/spi_flash/Kconfig b/components/spi_flash/Kconfig index 8a1e852386..ba8c559b12 100644 --- a/components/spi_flash/Kconfig +++ b/components/spi_flash/Kconfig @@ -55,6 +55,7 @@ menu "SPI Flash driver" config SPI_FLASH_HAS_ROM_IMPL bool + depends on IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2 default y if IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2 config SPI_FLASH_ROM_IMPL