Merge branch 'feat/generic_partition_bdl_example' into 'master'

feat(storage): Add generic partition BDL example

Closes IDF-15980

See merge request espressif/esp-idf!50305
This commit is contained in:
Martin Vychodil
2026-09-08 21:02:54 +08:00
17 changed files with 1182 additions and 0 deletions
@@ -227,6 +227,11 @@ When an overlap or invalid range is detected, the build fails with a diagnostic
.. _blockdev-apis:
Application Examples
--------------------
- :example:`storage/generic_partition_bdl` demonstrates how to partition a raw block device at run time using only the Block Device Layer, by writing an MBR partition table onto a whole-disk BDL (a SPI flash data partition or an SD/eMMC card) and mounting FATFS and LittleFS on generic-partition BDL slices.
API Reference
-------------
@@ -157,6 +157,11 @@
.. _blockdev-apis:
应用示例
--------
- :example:`storage/generic_partition_bdl` 演示了如何仅使用块设备层在运行时对裸块设备进行分区:将 MBR 分区表写入整盘 BDL(SPI flash 数据分区或 SD/eMMC 卡),并在通用分区 BDL 切片上挂载 FATFS 和 LittleFS。
API 参考
--------