remove(legacy_rmt): remove legacy rmt driver in IDF v6.0

This commit is contained in:
Chen Jichang
2025-09-16 15:20:10 +08:00
parent ab2829d65f
commit 883ead113d
45 changed files with 27 additions and 4333 deletions
@@ -315,12 +315,14 @@ LEDC
.. only:: SOC_RMT_SUPPORTED
RMT Driver
----------
.. _deprecate_rmt_legacy_driver:
Legacy RMT Driver is Deprecated
-------------------------------
RMT driver has been redesigned (see :doc:`RMT transceiver <../../../api-reference/peripherals/rmt>`), which aims to unify and extend the usage of RMT peripheral.
Although it is recommended to use the new driver APIs, the legacy driver is still available in the previous include path ``driver/rmt.h``. However, including ``driver/rmt.h`` triggers the build warning below by default. The warning can be suppressed by the Kconfig option :ref:`CONFIG_RMT_SUPPRESS_DEPRECATE_WARN`.
Although it is recommended to use the new driver APIs, the legacy driver is still available in the previous include path ``driver/rmt.h``. However, including ``driver/rmt.h`` triggers the build warning below by default. The warning can be suppressed by the Kconfig option ``CONFIG_RMT_SUPPRESS_DEPRECATE_WARN``.
.. code-block:: text
@@ -130,6 +130,13 @@ The legacy timer group driver ``driver/timer.h`` is deprecated since version 5.0
The legacy PCNT driver ``driver/pcnt.h`` is deprecated since version 5.0 (see :ref:`deprecate_pcnt_legacy_driver`). Starting from version 6.0, the legacy driver is completely removed. The new driver is placed in the :component:`esp_driver_pcnt`, and the header file path is ``driver/pulse_cnt.h``.
.. only:: SOC_RMT_SUPPORTED
Legacy RMT Driver is Removed
-------------------------------
The legacy RMT driver ``driver/rmt.h`` is deprecated since version 5.0 (see :ref:`deprecate_rmt_legacy_driver`). Starting from version 6.0, the legacy driver is completely removed. The new driver is placed in the :component:`esp_driver_rmt`, and the header file path is ``driver/rmt_tx.h``, ``driver/rmt_rx.h`` and ``driver/rmt_encoder.h``.
GDMA
----