mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
Merge branch 'feat/deprecate_legacy_twai_v6.0' into 'release/v6.0'
feat(driver_twai): add legacy driver deprecated warning (v6.0) See merge request espressif/esp-idf!42975
This commit is contained in:
@@ -319,3 +319,12 @@ USB
|
||||
The ``usb`` component has been moved to `ESP Component Registry <https://components.espressif.com/components/espressif/usb>`__.
|
||||
|
||||
You can add this dependency to your project by running ``idf.py add-dependency "espressif/usb"``.
|
||||
|
||||
.. only:: SOC_TWAI_SUPPORTED
|
||||
|
||||
TWAI
|
||||
----
|
||||
|
||||
TWAI has provided a new driver interface in version 5.5, which supports more flexible configurations and richer features. The legacy driver is not recommended to be used anymore. Please refer to the 5.5 migration guide :doc:`TWAI migration guide <../../release-5.x/5.5/peripherals>` and the new driver programming guide :doc:`TWAI driver programming guide <../../../api-reference/peripherals/twai>` for migration.
|
||||
|
||||
If you still need to use the legacy driver, you can enable the configuration option :ref:`CONFIG_TWAI_SUPPRESS_DEPRECATE_WARN` to close the deprecation warnings.
|
||||
|
||||
Reference in New Issue
Block a user