Skip to content

Commit 9aea2d3

Browse files
committed
Merge branch 'fix/peripheral_driver_kconfig_inconsistence_v5.3' into 'release/v5.3'
fix(kconfig): fixed peripheral driver kconfig inconsistencies (v5.3) See merge request espressif/esp-idf!31294
2 parents 41515a9 + d9f9f79 commit 9aea2d3

File tree

6 files changed

+55
-38
lines changed

6 files changed

+55
-38
lines changed

components/driver/Kconfig

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ menu "Driver Configurations"
6363
endmenu # Legacy ADC Calibration Configuration
6464
endmenu # Legacy ADC Driver Configuration
6565

66+
menu "Legacy DAC Driver Configurations"
67+
depends on SOC_DAC_SUPPORTED
68+
config DAC_SUPPRESS_DEPRECATE_WARN
69+
bool "Suppress legacy driver deprecated warning"
70+
default n
71+
help
72+
Whether to suppress the deprecation warnings when using legacy dac driver (driver/dac.h).
73+
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
74+
you can enable this option.
75+
endmenu # Legacy DAC Driver Configurations
76+
6677
menu "Legacy MCPWM Driver Configurations"
6778
depends on SOC_MCPWM_SUPPORTED
6879
config MCPWM_SUPPRESS_DEPRECATE_WARN
@@ -97,4 +108,48 @@ menu "Driver Configurations"
97108
you can enable this option.
98109
endmenu # Legacy RMT Driver Configurations
99110

111+
menu "Legacy I2S Driver Configurations"
112+
depends on SOC_I2S_SUPPORTED
113+
config I2S_SUPPRESS_DEPRECATE_WARN
114+
bool "Suppress legacy driver deprecated warning"
115+
default n
116+
help
117+
Whether to suppress the deprecation warnings when using legacy i2s driver (driver/i2s.h).
118+
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
119+
you can enable this option.
120+
endmenu # Legacy I2S Driver Configurationss
121+
122+
menu "Legacy PCNT Driver Configurations"
123+
depends on SOC_PCNT_SUPPORTED
124+
config PCNT_SUPPRESS_DEPRECATE_WARN
125+
bool "Suppress legacy driver deprecated warning"
126+
default n
127+
help
128+
whether to suppress the deprecation warnings when using legacy PCNT driver (driver/pcnt.h).
129+
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
130+
you can enable this option.
131+
endmenu # Legacy PCNT Driver Configurationss
132+
133+
menu "Legacy SDM Driver Configurations"
134+
depends on SOC_SDM_SUPPORTED
135+
config SDM_SUPPRESS_DEPRECATE_WARN
136+
bool "Suppress legacy driver deprecated warning"
137+
default n
138+
help
139+
whether to suppress the deprecation warnings when using legacy SDM driver (driver/sigmadelta.h).
140+
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
141+
you can enable this option.
142+
endmenu # Legacy SDM Driver Configurationss
143+
144+
menu "Legacy Temperature Sensor Driver Configurations"
145+
depends on SOC_TEMP_SENSOR_SUPPORTED
146+
config TEMP_SENSOR_SUPPRESS_DEPRECATE_WARN
147+
bool "Suppress legacy driver deprecated warning"
148+
default n
149+
help
150+
whether to suppress the deprecation warnings when using legacy temperature sensor driver
151+
(driver/temp_sensor.h). If you want to continue using the legacy driver,
152+
and don't want to see related deprecation warnings, you can enable this option.
153+
endmenu # Legacy Temperature Sensor Driver Configurationss
154+
100155
endmenu # Driver configurations

components/esp_driver_dac/Kconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ menu "ESP-Driver:DAC Configurations"
1515
Ensure the DAC interrupt is IRAM-Safe by allowing the interrupt handler to be
1616
executable when the cache is disabled (e.g. SPI Flash write).
1717

18-
config DAC_SUPPRESS_DEPRECATE_WARN
19-
bool "Suppress legacy driver deprecated warning"
20-
default n
21-
help
22-
whether to suppress the deprecation warnings when using legacy DAC driver (driver/dac.h).
23-
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
24-
you can enable this option.
25-
2618
config DAC_ENABLE_DEBUG_LOG
2719
bool "Enable debug log"
2820
default n

components/esp_driver_i2s/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ menu "ESP-Driver:I2S Configurations"
77
Ensure the I2S interrupt is IRAM-Safe by allowing the interrupt handler to be
88
executable when the cache is disabled (e.g. SPI Flash write).
99

10-
config I2S_SUPPRESS_DEPRECATE_WARN
11-
bool "Suppress legacy driver deprecated warning"
12-
default n
13-
help
14-
Enable this option will suppress the deprecation warnings of using APIs in legacy I2S driver.
15-
1610
config I2S_ENABLE_DEBUG_LOG
1711
bool "Enable I2S debug log"
1812
default n

components/esp_driver_pcnt/Kconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ menu "ESP-Driver:PCNT Configurations"
1515
Ensure the PCNT interrupt is IRAM-Safe by allowing the interrupt handler to be
1616
executable when the cache is disabled (e.g. SPI Flash write).
1717

18-
config PCNT_SUPPRESS_DEPRECATE_WARN
19-
bool "Suppress legacy driver deprecated warning"
20-
default n
21-
help
22-
whether to suppress the deprecation warnings when using legacy PCNT driver (driver/pcnt.h).
23-
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
24-
you can enable this option.
25-
2618
config PCNT_ENABLE_DEBUG_LOG
2719
bool "Enable debug log"
2820
default n

components/esp_driver_sdm/Kconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ menu "ESP-Driver:Sigma Delta Modulator Configurations"
88
so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context.
99
Enabling this option can improve driver performance as well.
1010

11-
config SDM_SUPPRESS_DEPRECATE_WARN
12-
bool "Suppress legacy driver deprecated warning"
13-
default n
14-
help
15-
whether to suppress the deprecation warnings when using legacy sigma delta driver.
16-
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
17-
you can enable this option.
18-
1911
config SDM_ENABLE_DEBUG_LOG
2012
bool "Enable debug log"
2113
default n

components/esp_driver_tsens/Kconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
menu "ESP-Driver:Temperature Sensor Configurations"
22
depends on SOC_TEMP_SENSOR_SUPPORTED
33

4-
config TEMP_SENSOR_SUPPRESS_DEPRECATE_WARN
5-
bool "Suppress legacy driver deprecated warning"
6-
default n
7-
help
8-
whether to suppress the deprecation warnings when using legacy temperature sensor driver
9-
(driver/temp_sensor.h). If you want to continue using the legacy driver,
10-
and don't want to see related deprecation warnings, you can enable this option.
11-
124
config TEMP_SENSOR_ENABLE_DEBUG_LOG
135
bool "Enable debug log"
146
default n

0 commit comments

Comments
 (0)