Skip to content

Commit 1a2f8ae

Browse files
committed
Added blurb around the utility block devices into the block device doc
1 parent 3d69043 commit 1a2f8ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/APIs/storage/block_device.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ Block devices indicate their block sizes through the `get_read_size`, `get_progr
2828

2929
As a rule of thumb, you can use the erase size for applications that use a single block size (for example, the FAT file system).
3030

31+
## Utility block devices
32+
33+
mbed OS contains several utility block devices to give you better control over how storage is allocated.
34+
35+
- The [slicing block device](https://github.com/ARMmbed/mbed-os/blob/master/features/filesystem/bd/SlicingBlockDevice.h) allows you to partition storage into smaller block devices that you can use independentally.
36+
- The [chaining block device](https://github.com/ARMmbed/mbed-os/blob/master/features/filesystem/bd/ChainingBlockDevice.h) allows you to chain multiple block devices together and extend the usable amount of storage.
37+
- The [MBR block device](https://github.com/ARMmbed/mbed-os/blob/master/features/filesystem/bd/MBRBlockDevice.h) allows you to partition storage with a [Master Boot Record](https://en.wikipedia.org/wiki/Master_boot_record). The MBR allows the partitions to be configured seperately from outside the application.
38+
3139
## Example block devices
3240

3341
- [SDBlockDevice](https://github.com/armmbed/sd-driver) - Block device for SD cards.

0 commit comments

Comments
 (0)