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

This commit is contained in:
jingli 2023-02-22 21:40:21 +08:00
parent 4c3d1e24d7
commit eede7295d1
4 changed files with 22 additions and 0 deletions

View File

@ -10,3 +10,4 @@ Migration from 5.0 to 5.1
peripherals peripherals
storage storage
networking networking
system

View File

@ -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.

View File

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

View File

@ -0,0 +1,10 @@
系统
======
:link_to_translation:`en:[英文]`
电源管理
----------
* ``esp_pm_config_esp32xx_t`` 已被弃用,应使用 ``esp_pm_config_t`` 替代。
* ``esp32xx/pm.h`` 已被弃用,应使用 ``esp_pm.h`` 替代。