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

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

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_timer.h"
- Add warning to compatibility header
This commit is contained in:
Darian Leung
2023-12-05 18:04:52 +08:00
parent 555bd367e1
commit b85e6d3dd8
5 changed files with 6 additions and 7 deletions
@@ -6,6 +6,6 @@
#pragma once
/* This header file has been moved, thus `#include <freertos/xtensa_timer.h>` is deprecated. Please use `#include <xtensa_timer.h>` instead */
/* Todo: IDF-7230 */
#warning "This header file has been moved, thus `#include <freertos/xtensa_timer.h>` is deprecated. Please use `#include <xtensa_timer.h>` instead"
#include <xtensa_timer.h>