Skip to content

Commit 9993540

Browse files
committed
fix(interrupts): removed deprecated intr_types.h and interrupt_deprecated.h headers
intr_types.h has been replaced by esp_intr_types.h and the deprecated esprv_intc_* from interrupt_deprecated.h have been replaced by the more generic esprv_* functions.
1 parent 8f09a81 commit 9993540

File tree

5 files changed

+10
-142
lines changed

5 files changed

+10
-142
lines changed

components/esp_hw_support/include/intr_types.h

Lines changed: 0 additions & 25 deletions
This file was deleted.

components/riscv/include/esp_private/interrupt_deprecated.h

Lines changed: 0 additions & 112 deletions
This file was deleted.

components/riscv/include/riscv/interrupt.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -162,10 +162,7 @@ typedef uint32_t (*esprv_int_mgmt_t)(int argc, ...);
162162
*/
163163
void esprv_int_setup_mgmt_cb(void *fptr);
164164

165-
/**
166-
* Include the deprecated functions last since they will alias the functions declared above
167-
*/
168-
#include "esp_private/interrupt_deprecated.h"
165+
169166

170167
#ifdef __cplusplus
171168
}

docs/en/migration-guides/release-6.x/6.0/system.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ HW-Support
5656

5757
The deprecated ``soc_memory_types.h`` header file has been removed. Please include the replacement ``esp_memory_utils.h`` instead.
5858

59+
The deprecated ``intr_types.h`` header file has been removed. Please include the replacement ``esp_intr_types.h`` instead.
60+
61+
The deprecated ``esp_private/interrupt_deprecated.h`` header file, which was available to users through the ``riscv/interrupt.h`` header, has been removed. The deprecated functions are no longer available, please use the non-deprecated versions instead.
62+
5963
App Trace
6064
----------
6165

docs/zh_CN/migration-guides/release-6.x/6.0/system.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ Xtensa 特殊寄存器头文件已更新,使用新的命名约定。旧的 ``s
5656

5757
已弃用的头文件 ``soc_memory_types.h`` 已被移除,请改用替代头文件 ``esp_memory_utils.h``。
5858

59+
已弃用的头文件 ``intr_types.h`` 已被移除,请改用替代头文件 ``esp_intr_types.h``。
60+
61+
已弃用的头文件 ``esp_private/interrupt_deprecated.h`` 已被移除,已弃用的函数不再可用,请改用非弃用版本。
62+
5963
App 追踪
6064
----------
6165

0 commit comments

Comments
 (0)