Skip to content

Commit 0972e9d

Browse files
committed
Merge branch 'refactor/remove_legacy_mcpwm_driver' into 'master'
remove(legacy_mcpwm)!: remove legacy mcpwm driver in IDF v6.0 Closes IDF-13173 and IDF-13352 See merge request espressif/esp-idf!39743
2 parents 5808358 + 4d1a4df commit 0972e9d

File tree

29 files changed

+84
-2941
lines changed

29 files changed

+84
-2941
lines changed

components/driver/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ if(CONFIG_SOC_I2C_SUPPORTED)
2121
list(APPEND srcs "i2c/i2c.c")
2222
endif()
2323

24-
# MCPWM legacy driver
25-
if(CONFIG_SOC_MCPWM_SUPPORTED)
26-
list(APPEND srcs "deprecated/mcpwm_legacy.c")
27-
endif()
28-
2924
# RMT legacy driver
3025
if(CONFIG_SOC_RMT_SUPPORTED)
3126
list(APPEND srcs "deprecated/rmt_legacy.c")

components/driver/Kconfig

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@ menu "Driver Configurations"
22

33
orsource "./twai/Kconfig.twai"
44

5-
menu "Legacy MCPWM Driver Configurations"
6-
depends on SOC_MCPWM_SUPPORTED
7-
config MCPWM_SUPPRESS_DEPRECATE_WARN
8-
bool "Suppress legacy driver deprecated warning"
9-
default n
10-
help
11-
Whether to suppress the deprecation warnings when using legacy MCPWM driver (driver/mcpwm.h).
12-
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
13-
you can enable this option.
14-
15-
config MCPWM_SKIP_LEGACY_CONFLICT_CHECK
16-
bool "Skip legacy conflict check"
17-
default n
18-
help
19-
This configuration option allows the user to bypass the conflict check mechanism with legacy code.
20-
endmenu # Legacy MCPWM Driver Configurations
21-
225
menu "Legacy RMT Driver Configurations"
236
depends on SOC_RMT_SUPPORTED
247
config RMT_SUPPRESS_DEPRECATE_WARN
@@ -45,23 +28,6 @@ menu "Driver Configurations"
4528
This configuration option allows the user to bypass the conflict check mechanism with legacy code.
4629
endmenu # Legacy I2C Driver Configurationss
4730

48-
menu "Legacy PCNT Driver Configurations"
49-
depends on SOC_PCNT_SUPPORTED
50-
config PCNT_SUPPRESS_DEPRECATE_WARN
51-
bool "Suppress legacy driver deprecated warning"
52-
default n
53-
help
54-
whether to suppress the deprecation warnings when using legacy PCNT driver (driver/pcnt.h).
55-
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
56-
you can enable this option.
57-
58-
config PCNT_SKIP_LEGACY_CONFLICT_CHECK
59-
bool "Skip legacy conflict check"
60-
default n
61-
help
62-
This configuration option allows the user to bypass the conflict check mechanism with legacy code.
63-
endmenu # Legacy PCNT Driver Configurationss
64-
6531
menu "Legacy SDM Driver Configurations"
6632
depends on SOC_SDM_SUPPORTED
6733
config SDM_SUPPRESS_DEPRECATE_WARN

0 commit comments

Comments
 (0)