change(xtensa): Deprecate ".../xtensa_context.h" include path

This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
This commit is contained in:
Darian Leung
2023-12-05 18:04:52 +08:00
parent c2e134b775
commit 555bd367e1
20 changed files with 32 additions and 49 deletions
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "freertos/xtensa_context.h"
#include "xtensa_context.h"
#include "esp_private/panic_internal.h"
extern void esp_panic_handler(panic_info_t *info);
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "freertos/xtensa_context.h"
#include "xtensa_context.h"
#include "esp_private/panic_internal.h"
#include "hal/wdt_hal.h"