diff --git a/components/esp_wifi/Kconfig b/components/esp_wifi/Kconfig index 010e42e9fc..7571af4569 100644 --- a/components/esp_wifi/Kconfig +++ b/components/esp_wifi/Kconfig @@ -376,9 +376,6 @@ endmenu # Wi-Fi menu "PHY" config ESP32_PHY_CALIBRATION_AND_DATA_STORAGE - # ToDo: remove target dependency once NVS and PHY partial calibration are supported - # also re-enable the entry in docs/../api-guides/index.rst - depends on IDF_TARGET_ESP32 bool "Store phy calibration data in NVS" default y help diff --git a/components/esp_wifi/src/phy_init.c b/components/esp_wifi/src/phy_init.c index 88454cb0fe..0f50000f20 100644 --- a/components/esp_wifi/src/phy_init.c +++ b/components/esp_wifi/src/phy_init.c @@ -40,9 +40,11 @@ #elif CONFIG_IDF_TARGET_ESP32S2 #include "esp32s2/rom/rtc.h" #elif CONFIG_IDF_TARGET_ESP32C3 +#include "esp32c3/rom/rtc.h" #include "soc/rtc_cntl_reg.h" #include "soc/syscon_reg.h" #elif CONFIG_IDF_TARGET_ESP32S3 +#include "esp32s3/rom/rtc.h" #include "soc/rtc_cntl_reg.h" #include "soc/syscon_reg.h" #endif