circuitpython/lib/oofatfs
Jeff Epler a484a93b29 nRF: disk_read must be 4-byte aligned
.. a requirement that oofatfs needs to be taught to respect.

This problem can be demonstrated with the following snippet, except
that the related file ("test.bin") must also be contiguous on the
filesystem.  You can ensure this by reformatting your device's filesystem
before testing, then copying any single file bigger than 4kB to test.bin.

    f = open("test.bin", "rb")
    f.seek(2048)
    b = bytearray(2048)
    v = memoryview(b)
    f.readinto(v[909:])

Closes: #2332
2019-12-10 14:03:06 -06:00
..
option lib/oofatfs: Add OO version of FatFS library. 2017-01-27 13:19:10 +11:00
diskio.h lib/oofatfs: Add OO version of FatFS library. 2017-01-27 13:19:10 +11:00
ff.c nRF: disk_read must be 4-byte aligned 2019-12-10 14:03:06 -06:00
ff.h lib/oofatfs: Update oofatfs library. 2017-01-30 12:07:40 +11:00
ffconf.h nRF: disk_read must be 4-byte aligned 2019-12-10 14:03:06 -06:00