diff options
author | Damien George <damien@micropython.org> | 2023-11-20 19:12:02 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-02-07 13:25:09 +1100 |
commit | 45f99cb4459248116396773a72cc122edbe14a00 (patch) | |
tree | 20ca8e12879972b210aaca9b70728acc10f0c220 /docs/zephyr/tutorial | |
parent | e7020463f1114317988ffef21663df5cc8c62ba9 (diff) | |
download | micropython-45f99cb4459248116396773a72cc122edbe14a00.tar.gz micropython-45f99cb4459248116396773a72cc122edbe14a00.zip |
docs/library: Move vfs functions and classes from os to vfs module docs.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/zephyr/tutorial')
-rw-r--r-- | docs/zephyr/tutorial/storage.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/zephyr/tutorial/storage.rst b/docs/zephyr/tutorial/storage.rst index 12bd0d0d35..e8dcbbd39a 100644 --- a/docs/zephyr/tutorial/storage.rst +++ b/docs/zephyr/tutorial/storage.rst @@ -6,14 +6,14 @@ Filesystems and Storage Storage modules support virtual filesystem with FAT and littlefs formats, backed by either Zephyr DiskAccess or FlashArea (flash map) APIs depending on which the board supports. -See `os Filesystem Mounting <https://docs.micropython.org/en/latest/library/os.html?highlight=os#filesystem-mounting>`_. +See `vfs Filesystem Mounting <https://docs.micropython.org/en/latest/library/vfs.html?highlight=vfs#filesystem-mounting>`_. Disk Access ----------- The :ref:`zephyr.DiskAccess <zephyr.DiskAccess>` class can be used to access storage devices, such as SD cards. This class uses `Zephyr Disk Access API <https://docs.zephyrproject.org/latest/reference/storage/disk/access.html>`_ and -implements the `os.AbstractBlockDev` protocol. +implements the `vfs.AbstractBlockDev` protocol. For use with SD card controllers, SD cards must be present at boot & not removed; they will be auto detected and initialized by filesystem at boot. Use the disk driver interface and a @@ -39,7 +39,7 @@ customize filesystem configurations. To store persistent data on the device, usi API is recommended (see below). This class uses `Zephyr Flash map API <https://docs.zephyrproject.org/latest/reference/storage/flash_map/flash_map.html#>`_ and -implements the `os.AbstractBlockDev` protocol. +implements the `vfs.AbstractBlockDev` protocol. Example usage with the internal flash on the reel_board or the rv32m1_vega_ri5cy board:: |