diff options
author | Damien George <damien.p.george@gmail.com> | 2016-02-09 14:28:50 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-02-10 08:59:31 +0000 |
commit | c33ad60a676d46cb18883beedd6c383d6fae9dd8 (patch) | |
tree | 2ac56735b689abc47fb435268ce1e9fdaa7d459c /stmhal/system_stm32.c | |
parent | 3846fd56c150646099d530196fd6ab9a54536a24 (diff) | |
download | micropython-c33ad60a676d46cb18883beedd6c383d6fae9dd8.tar.gz micropython-c33ad60a676d46cb18883beedd6c383d6fae9dd8.zip |
extmod/fsusermount: Change block protocol to support ioctl method.
The new block protocol is:
- readblocks(self, n, buf)
- writeblocks(self, n, buf)
- ioctl(self, cmd, arg)
The new ioctl method handles the old sync and count methods, as well as
a new "get sector size" method.
The old protocol is still supported, and used if the device doesn't have
the ioctl method.
Diffstat (limited to 'stmhal/system_stm32.c')
0 files changed, 0 insertions, 0 deletions