MicroPython Block Device Question

  • I have never seen MicroPython (or the Pycom implementation, to be specific) try to read or write more than one 512-byte block at a time from a mountable device (i.e. something os.mount understands), even though the readblocks and writeblocks functions provided by the device can supposedly support this. As a result, I have no way to test a multi-block read/write. Can anyone confirm that only single-block operations are ever done? If so, then I don't need to test the multi-block code, and will probably just remove it from the device driver.

    PS - I don't believe the relevant source code is available (or I'd verify this myself), but if it does, please point me to it.

Log in to reply

Pycom on Twitter

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.