Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 2.05 KB

File metadata and controls

42 lines (27 loc) · 2.05 KB

系统

:link_to_translation:`en:[English]`

FreeRTOS

升级 IDF FreeRTOS

IDF FreeRTOS 内核(通过 FreeRTOS 实现的双核 SMP )已升级,现基于 Vanilla FreeRTOS v10.5.1。伴随升级,IDF FreeRTOS 的设计和实现也发生了重大变化。因此,用户应注意以下关于内核行为和 API 的变化:

任务快照

由于缺乏从用户代码中使用该 API 的实际方法(必须先暂停调度器才能调用该 API),任务快照 API 已被设置为私有。

.. only:: CONFIG_IDF_TARGET_ARCH_XTENSA

    Xtensa
    ------

    几个 Xtensa 头文件的旧版包含路径已被弃用:

    - 弃用 ``#include "freertos/xtensa_api.h"``,请改用 ``#include "xtensa_api.h"``。
    - 弃用 ``#include "freertos/xtensa_context.h"``,请改用 ``#include "xtensa_context.h"``。
    - 弃用 ``#include "freertos/xtensa_timer.h"``,请改用 ``#include "xtensa_timer.h"``。


紧急处理程序行为

在配置选项 :ref:`CONFIG_ESP_SYSTEM_PANIC` 中,是否可选择 CONFIG_ESP_SYSTEM_PANIC_GDBSTUB 取决于是否在构建中包含了 esp_gdbstub 组件。使用 set(COMPONENTS main) 来缩减这类构建的组件列表时,必须将 esp_gdbstub 组件添加到这个组件列表中,以使 CONFIG_ESP_SYSTEM_PANIC_GDBSTUB 选项可用。