Skip to content

Commit f4a45a3

Browse files
committed
Merge branch 'refactor/remove_tsens_legacy' into 'master'
refactor(temperature_sensor): Remove legacy temperature sensor driver Closes IDF-12570 and IDF-13366 See merge request espressif/esp-idf!39840
2 parents 2fb938c + bdf4daf commit f4a45a3

File tree

50 files changed

+192
-809
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+192
-809
lines changed

components/driver/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ if(CONFIG_SOC_SDM_SUPPORTED)
4545
list(APPEND srcs "deprecated/sigma_delta_legacy.c")
4646
endif()
4747

48-
# Temperature Sensor related source files
49-
if(CONFIG_SOC_TEMP_SENSOR_SUPPORTED)
50-
list(APPEND srcs "deprecated/rtc_temperature_legacy.c")
51-
endif()
52-
5348
# Touch Sensor related source files
5449
if(CONFIG_SOC_TOUCH_SENSOR_SUPPORTED)
5550
if(CONFIG_SOC_TOUCH_SENSOR_VERSION LESS 3)

components/driver/Kconfig

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -145,23 +145,6 @@ menu "Driver Configurations"
145145
This configuration option allows the user to bypass the conflict check mechanism with legacy code.
146146
endmenu # Legacy SDM Driver Configurationss
147147

148-
menu "Legacy Temperature Sensor Driver Configurations"
149-
depends on SOC_TEMP_SENSOR_SUPPORTED
150-
config TEMP_SENSOR_SUPPRESS_DEPRECATE_WARN
151-
bool "Suppress legacy driver deprecated warning"
152-
default n
153-
help
154-
whether to suppress the deprecation warnings when using legacy temperature sensor driver
155-
(driver/temp_sensor.h). If you want to continue using the legacy driver,
156-
and don't want to see related deprecation warnings, you can enable this option.
157-
158-
config TEMP_SENSOR_SKIP_LEGACY_CONFLICT_CHECK
159-
bool "Skip legacy conflict check"
160-
default n
161-
help
162-
This configuration option allows the user to bypass the conflict check mechanism with legacy code.
163-
endmenu # Legacy Temperature Sensor Driver Configurationss
164-
165148
menu "Legacy Touch Sensor Driver Configurations"
166149
depends on SOC_TOUCH_SENSOR_SUPPORTED
167150
config TOUCH_SUPPRESS_DEPRECATE_WARN

components/driver/deprecated/driver/temp_sensor.h

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

components/driver/deprecated/driver/temp_sensor_types_legacy.h

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

components/driver/deprecated/rtc_temperature_legacy.c

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

components/driver/test_apps/.build-test-rules.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ components/driver/test_apps/legacy_rmt_driver:
3434
depends_filepatterns:
3535
- components/driver/deprecated/**/*rmt*
3636

37-
components/driver/test_apps/legacy_rtc_temp_driver:
38-
disable:
39-
- if: SOC_TEMP_SENSOR_SUPPORTED != 1
40-
4137
components/driver/test_apps/legacy_sigma_delta_driver:
4238
disable:
4339
- if: SOC_SDM_SUPPORTED != 1

components/driver/test_apps/legacy_rtc_temp_driver/CMakeLists.txt

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

components/driver/test_apps/legacy_rtc_temp_driver/README.md

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

components/driver/test_apps/legacy_rtc_temp_driver/main/CMakeLists.txt

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

0 commit comments

Comments
 (0)