mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
parent
555bd367e1
commit
b85e6d3dd8
@ -17,7 +17,7 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "freertos/xtensa_timer.h"
|
||||
#include "xtensa_timer.h"
|
||||
#include "driver/uart.h"
|
||||
#include "unity.h"
|
||||
#include "test_utils.h"
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#if CONFIG_FREERTOS_SYSTICK_USES_CCOUNT
|
||||
#include "freertos/xtensa_timer.h"
|
||||
#include "xtensa_timer.h"
|
||||
#include "xtensa/core-macros.h"
|
||||
#endif
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "freertos/xtensa_timer.h"
|
||||
#include "unity.h"
|
||||
#include "test_utils.h"
|
||||
#include "esp32/rom/sha.h"
|
||||
|
@ -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>
|
||||
|
@ -6,6 +6,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
/* This header file has been moved, thus `#include <xtensa/xtensa_timer.h>` is deprecated. Please use `#include <xtensa_timer.h>` instead */
|
||||
/* Todo: IDF-7230 */
|
||||
#warning "This header file has been moved, thus `#include <xtensa/xtensa_timer.h>` is deprecated. Please use `#include <xtensa_timer.h>` instead"
|
||||
|
||||
#include <xtensa_timer.h>
|
||||
|
Loading…
Reference in New Issue
Block a user