Skip to content

Commit d445536

Browse files
committed
Merge branch 'refactor/remove_legacy_dac_driver' into 'master'
remove(legacy_dac): remove legacy dac driver in IDF v6.0 Closes IDF-13344 See merge request espressif/esp-idf!39682
2 parents beb6d79 + a4cb2dc commit d445536

File tree

26 files changed

+23
-910
lines changed

26 files changed

+23
-910
lines changed

components/driver/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ if(CONFIG_SOC_ADC_SUPPORTED)
2525
endif()
2626
endif()
2727

28-
# DAC related source files
29-
if(CONFIG_SOC_DAC_SUPPORTED)
30-
list(APPEND srcs "deprecated/dac_common_legacy.c"
31-
"deprecated/${target}/dac_legacy.c")
32-
endif()
33-
3428
# I2C related source files
3529
if(CONFIG_SOC_I2C_SUPPORTED)
3630
list(APPEND srcs "i2c/i2c.c")

components/driver/Kconfig

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,6 @@ menu "Driver Configurations"
6868
endmenu # Legacy ADC Calibration Configuration
6969
endmenu # Legacy ADC Driver Configuration
7070

71-
menu "Legacy DAC Driver Configurations"
72-
depends on SOC_DAC_SUPPORTED
73-
config DAC_SUPPRESS_DEPRECATE_WARN
74-
bool "Suppress legacy driver deprecated warning"
75-
default n
76-
help
77-
Whether to suppress the deprecation warnings when using legacy dac driver (driver/dac.h).
78-
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
79-
you can enable this option.
80-
81-
config DAC_SKIP_LEGACY_CONFLICT_CHECK
82-
bool "Skip legacy conflict check"
83-
default n
84-
help
85-
This configuration option allows the user to bypass the conflict check mechanism with legacy code.
86-
endmenu # Legacy DAC Driver Configurations
87-
8871
menu "Legacy MCPWM Driver Configurations"
8972
depends on SOC_MCPWM_SUPPORTED
9073
config MCPWM_SUPPRESS_DEPRECATE_WARN

components/driver/deprecated/dac_common_legacy.c

Lines changed: 0 additions & 144 deletions
This file was deleted.

components/driver/deprecated/driver/dac.h

Lines changed: 0 additions & 171 deletions
This file was deleted.

0 commit comments

Comments
 (0)