Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.84 KB

partition.rst

File metadata and controls

41 lines (26 loc) · 1.84 KB

分区 API

:link_to_translation:`en:[English]`

概述

esp_partition 组件提供了高层次的 API 函数,用于访问定义在 :doc:`/api-guides/partition-tables` 中的分区。这些 API 基于 :doc:`/api-reference/peripherals/spi_flash/index` 提供的低层次 API。

分区表 API

ESP-IDF 工程使用分区表保存 SPI flash 各区信息,包括引导程序、各种应用程序二进制文件、数据及文件系统等。请参阅 :doc:`/api-guides/partition-tables`,查看详细信息。

该组件在 esp_partition.h 中声明了一些 API 函数,用以枚举在分区表中找到的分区,并对这些分区执行操作:

另请参考

分区表 API 参考

.. include-build-file:: inc/esp_partition.inc