diff options
author | Damien George <damien.p.george@gmail.com> | 2016-05-13 14:45:40 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-05-13 14:45:40 +0100 |
commit | 87981fc517ff1fafd1513af3e26df39bf57e6978 (patch) | |
tree | 43a6518bb0e1e6e522d350e1767ab3a83316e481 /docs/esp8266/quickref.rst | |
parent | 5985e41afca9d440dd932ab512c23dbc1e002499 (diff) | |
download | micropython-87981fc517ff1fafd1513af3e26df39bf57e6978.tar.gz micropython-87981fc517ff1fafd1513af3e26df39bf57e6978.zip |
stmhal/sdcard: Allow to do unaligned read-from/write-to SD card.
For example, the following code now works with a file on the SD card:
f = open('test', 'rb') # test must be 1024 bytes or more in size
f.seek(511)
f.read(513)
Also works for writing.
Fixes issue #1863.
Diffstat (limited to 'docs/esp8266/quickref.rst')
0 files changed, 0 insertions, 0 deletions