summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/esp32.rst
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2019-12-04 10:42:07 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-04 23:18:23 +1100
commit9a849cc7caee63560ecd2455a29615a44e2c809f (patch)
tree21f4c2a268f27ef31e8baa1a0e839588a10aa76e /docs/library/esp32.rst
parentf2650be844d73b09b990ec2c0328e0262bb99442 (diff)
downloadmicropython-9a849cc7caee63560ecd2455a29615a44e2c809f.tar.gz
micropython-9a849cc7caee63560ecd2455a29615a44e2c809f.zip
docs: Add littlefs docs and a filesystem tutorial.
Diffstat (limited to 'docs/library/esp32.rst')
-rw-r--r--docs/library/esp32.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/library/esp32.rst b/docs/library/esp32.rst
index a593965ae2..68379624e6 100644
--- a/docs/library/esp32.rst
+++ b/docs/library/esp32.rst
@@ -56,10 +56,14 @@ This class gives access to the partitions in the device's flash memory.
Returns a 6-tuple ``(type, subtype, addr, size, label, encrypted)``.
.. method:: Partition.readblocks(block_num, buf)
+.. method:: Partition.readblocks(block_num, buf, offset)
.. method:: Partition.writeblocks(block_num, buf)
+.. method:: Partition.writeblocks(block_num, buf, offset)
.. method:: Partition.ioctl(cmd, arg)
- These methods implement the block protocol defined by :class:`uos.AbstractBlockDev`.
+ These methods implement the simple and :ref:`extended
+ <block-device-interface>` block protocol defined by
+ :class:`uos.AbstractBlockDev`.
.. method:: Partition.set_boot()