Explorar el Código

docs: upate migration guides for deprecated type and header file in power management component

jingli hace 3 años
padre
commit
eede7295d1

+ 1 - 0
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

+ 10 - 0
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.

+ 1 - 0
docs/zh_CN/migration-guides/release-5.x/5.1/index.rst

@@ -10,3 +10,4 @@
     peripherals
     storage
     networking
+    system

+ 10 - 0
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`` 替代。