Merge branch 'docs/xtensa_header_deprecation_migration_guide' into 'master'

change(xtensa): Add migration guide for depreacted include paths

See merge request espressif/esp-idf!27685
This commit is contained in:
Darian 2023-12-06 10:56:38 +08:00
commit 0960080991

View File

@ -11,4 +11,13 @@ Task Snapshot
The Task Snapshot API has been made private due to a lack of a practical way for the API to be used from user code (the scheduler must be halted before the API can be called). The Task Snapshot API has been made private due to a lack of a practical way for the API to be used from user code (the scheduler must be halted before the API can be called).
As a result, the ``#include "freertos/task_snapshot.h"`` include path has been deprecated. .. only:: CONFIG_IDF_TARGET_ARCH_XTENSA
Xtensa
------
A number of legacy include paths for Xtensa headers have been deprecated:
- ``#include "freertos/xtensa_api.h"`` is deprecated, please use ``#include "xtensa_api.h"`` instead.
- ``#include "freertos/xtensa_context.h"`` is deprecated, please use ``#include "xtensa_context.h"`` instead.
- ``#include "freertos/xtensa_timer.h"`` is deprecated, please use ``#include "xtensa_timer.h"`` instead.