mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
remove(legacy_rmt): remove legacy rmt driver in IDF v6.0
This commit is contained in:
@@ -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
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user