From eede7295d14b159b84e5ebdbf850727299a74672 Mon Sep 17 00:00:00 2001 From: jingli Date: Wed, 22 Feb 2023 21:40:21 +0800 Subject: [PATCH] docs: upate migration guides for deprecated type and header file in power management component --- docs/en/migration-guides/release-5.x/5.1/index.rst | 1 + docs/en/migration-guides/release-5.x/5.1/system.rst | 10 ++++++++++ docs/zh_CN/migration-guides/release-5.x/5.1/index.rst | 1 + docs/zh_CN/migration-guides/release-5.x/5.1/system.rst | 10 ++++++++++ 4 files changed, 22 insertions(+) create mode 100644 docs/en/migration-guides/release-5.x/5.1/system.rst create mode 100644 docs/zh_CN/migration-guides/release-5.x/5.1/system.rst diff --git a/docs/en/migration-guides/release-5.x/5.1/index.rst b/docs/en/migration-guides/release-5.x/5.1/index.rst index 35a89aca69..4a3c4b65d7 100644 --- a/docs/en/migration-guides/release-5.x/5.1/index.rst +++ b/docs/en/migration-guides/release-5.x/5.1/index.rst @@ -10,3 +10,4 @@ Migration from 5.0 to 5.1 peripherals storage networking + system diff --git a/docs/en/migration-guides/release-5.x/5.1/system.rst b/docs/en/migration-guides/release-5.x/5.1/system.rst new file mode 100644 index 0000000000..e6fe37009f --- /dev/null +++ b/docs/en/migration-guides/release-5.x/5.1/system.rst @@ -0,0 +1,10 @@ +System +====== + +:link_to_translation:`zh_CN:[中文]` + +Power Management +----------------------- + +* ``esp_pm_config_esp32xx_t`` is deprecated, use ``esp_pm_config_t`` instead. +* ``esp32xx/pm.h`` is deprecated, use ``esp_pm.h`` instead. diff --git a/docs/zh_CN/migration-guides/release-5.x/5.1/index.rst b/docs/zh_CN/migration-guides/release-5.x/5.1/index.rst index 03c107bdac..c95cac366c 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.1/index.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.1/index.rst @@ -10,3 +10,4 @@ peripherals storage networking + system diff --git a/docs/zh_CN/migration-guides/release-5.x/5.1/system.rst b/docs/zh_CN/migration-guides/release-5.x/5.1/system.rst new file mode 100644 index 0000000000..d6da2d7bba --- /dev/null +++ b/docs/zh_CN/migration-guides/release-5.x/5.1/system.rst @@ -0,0 +1,10 @@ +系统 +====== + +:link_to_translation:`en:[英文]` + +电源管理 +---------- + +* ``esp_pm_config_esp32xx_t`` 已被弃用,应使用 ``esp_pm_config_t`` 替代。 +* ``esp32xx/pm.h`` 已被弃用,应使用 ``esp_pm.h`` 替代。