diff --git a/components/driver/Kconfig b/components/driver/Kconfig index ceda88e3ba..68634c78f9 100644 --- a/components/driver/Kconfig +++ b/components/driver/Kconfig @@ -63,6 +63,17 @@ menu "Driver Configurations" endmenu # Legacy ADC Calibration Configuration endmenu # Legacy ADC Driver Configuration + menu "Legacy DAC Driver Configurations" + depends on SOC_DAC_SUPPORTED + config DAC_SUPPRESS_DEPRECATE_WARN + bool "Suppress legacy driver deprecated warning" + default n + help + Whether to suppress the deprecation warnings when using legacy dac driver (driver/dac.h). + If you want to continue using the legacy driver, and don't want to see related deprecation warnings, + you can enable this option. + endmenu # Legacy DAC Driver Configurations + menu "Legacy MCPWM Driver Configurations" depends on SOC_MCPWM_SUPPORTED config MCPWM_SUPPRESS_DEPRECATE_WARN @@ -97,4 +108,48 @@ menu "Driver Configurations" you can enable this option. endmenu # Legacy RMT Driver Configurations + menu "Legacy I2S Driver Configurations" + depends on SOC_I2S_SUPPORTED + config I2S_SUPPRESS_DEPRECATE_WARN + bool "Suppress legacy driver deprecated warning" + default n + help + Whether to suppress the deprecation warnings when using legacy i2s driver (driver/i2s.h). + If you want to continue using the legacy driver, and don't want to see related deprecation warnings, + you can enable this option. + endmenu # Legacy I2S Driver Configurationss + + menu "Legacy PCNT Driver Configurations" + depends on SOC_PCNT_SUPPORTED + config PCNT_SUPPRESS_DEPRECATE_WARN + bool "Suppress legacy driver deprecated warning" + default n + help + whether to suppress the deprecation warnings when using legacy PCNT driver (driver/pcnt.h). + If you want to continue using the legacy driver, and don't want to see related deprecation warnings, + you can enable this option. + endmenu # Legacy PCNT Driver Configurationss + + menu "Legacy SDM Driver Configurations" + depends on SOC_SDM_SUPPORTED + config SDM_SUPPRESS_DEPRECATE_WARN + bool "Suppress legacy driver deprecated warning" + default n + help + whether to suppress the deprecation warnings when using legacy SDM driver (driver/sigmadelta.h). + If you want to continue using the legacy driver, and don't want to see related deprecation warnings, + you can enable this option. + endmenu # Legacy SDM Driver Configurationss + + menu "Legacy Temperature Sensor Driver Configurations" + depends on SOC_TEMP_SENSOR_SUPPORTED + config TEMP_SENSOR_SUPPRESS_DEPRECATE_WARN + bool "Suppress legacy driver deprecated warning" + default n + help + whether to suppress the deprecation warnings when using legacy temperature sensor driver + (driver/temp_sensor.h). If you want to continue using the legacy driver, + and don't want to see related deprecation warnings, you can enable this option. + endmenu # Legacy Temperature Sensor Driver Configurationss + endmenu # Driver configurations diff --git a/components/esp_driver_dac/Kconfig b/components/esp_driver_dac/Kconfig index e0a1546db5..6fa1356cd6 100644 --- a/components/esp_driver_dac/Kconfig +++ b/components/esp_driver_dac/Kconfig @@ -15,14 +15,6 @@ menu "ESP-Driver:DAC Configurations" Ensure the DAC interrupt is IRAM-Safe by allowing the interrupt handler to be executable when the cache is disabled (e.g. SPI Flash write). - config DAC_SUPPRESS_DEPRECATE_WARN - bool "Suppress legacy driver deprecated warning" - default n - help - whether to suppress the deprecation warnings when using legacy DAC driver (driver/dac.h). - If you want to continue using the legacy driver, and don't want to see related deprecation warnings, - you can enable this option. - config DAC_ENABLE_DEBUG_LOG bool "Enable debug log" default n diff --git a/components/esp_driver_i2s/Kconfig b/components/esp_driver_i2s/Kconfig index b3413eafb4..72628d820e 100644 --- a/components/esp_driver_i2s/Kconfig +++ b/components/esp_driver_i2s/Kconfig @@ -7,12 +7,6 @@ menu "ESP-Driver:I2S Configurations" Ensure the I2S interrupt is IRAM-Safe by allowing the interrupt handler to be executable when the cache is disabled (e.g. SPI Flash write). - config I2S_SUPPRESS_DEPRECATE_WARN - bool "Suppress legacy driver deprecated warning" - default n - help - Enable this option will suppress the deprecation warnings of using APIs in legacy I2S driver. - config I2S_ENABLE_DEBUG_LOG bool "Enable I2S debug log" default n diff --git a/components/esp_driver_pcnt/Kconfig b/components/esp_driver_pcnt/Kconfig index f34768a0fb..2b1949bd87 100644 --- a/components/esp_driver_pcnt/Kconfig +++ b/components/esp_driver_pcnt/Kconfig @@ -15,14 +15,6 @@ menu "ESP-Driver:PCNT Configurations" Ensure the PCNT interrupt is IRAM-Safe by allowing the interrupt handler to be executable when the cache is disabled (e.g. SPI Flash write). - config PCNT_SUPPRESS_DEPRECATE_WARN - bool "Suppress legacy driver deprecated warning" - default n - help - whether to suppress the deprecation warnings when using legacy PCNT driver (driver/pcnt.h). - If you want to continue using the legacy driver, and don't want to see related deprecation warnings, - you can enable this option. - config PCNT_ENABLE_DEBUG_LOG bool "Enable debug log" default n diff --git a/components/esp_driver_sdm/Kconfig b/components/esp_driver_sdm/Kconfig index 50de62c3c6..ba89cac125 100644 --- a/components/esp_driver_sdm/Kconfig +++ b/components/esp_driver_sdm/Kconfig @@ -8,14 +8,6 @@ menu "ESP-Driver:Sigma Delta Modulator Configurations" so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context. Enabling this option can improve driver performance as well. - config SDM_SUPPRESS_DEPRECATE_WARN - bool "Suppress legacy driver deprecated warning" - default n - help - whether to suppress the deprecation warnings when using legacy sigma delta driver. - If you want to continue using the legacy driver, and don't want to see related deprecation warnings, - you can enable this option. - config SDM_ENABLE_DEBUG_LOG bool "Enable debug log" default n diff --git a/components/esp_driver_tsens/Kconfig b/components/esp_driver_tsens/Kconfig index 9bc99c7222..4ed4294078 100644 --- a/components/esp_driver_tsens/Kconfig +++ b/components/esp_driver_tsens/Kconfig @@ -1,14 +1,6 @@ menu "ESP-Driver:Temperature Sensor Configurations" depends on SOC_TEMP_SENSOR_SUPPORTED - config TEMP_SENSOR_SUPPRESS_DEPRECATE_WARN - bool "Suppress legacy driver deprecated warning" - default n - help - whether to suppress the deprecation warnings when using legacy temperature sensor driver - (driver/temp_sensor.h). If you want to continue using the legacy driver, - and don't want to see related deprecation warnings, you can enable this option. - config TEMP_SENSOR_ENABLE_DEBUG_LOG bool "Enable debug log" default n