1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-18 22:09:07 +00:00
trezor-firmware/core/mocks
matejcik fa746e2990 core/fatfs: rework low-level FatFS API
Instead of having possibly multiple FatFS objects, each with its own
`fs` struct, there is one global static fs_instance. This is to match
the mode of operation of ff.c, which assumes a global list of mounts,
and all functions operate on the global based on path.

Methods of FatFS were converted to functions on the fatfs module.

fatfs.unmount() does not call ff.c's unmount, but simply invalidates
fs_instance. This is basically what ff.c would do, except without
messing with ff.c's global list of mounts.
2020-02-26 14:18:41 +01:00
..
generated core/fatfs: rework low-level FatFS API 2020-02-26 14:18:41 +01:00
gc.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
micropython.pyi core/shamir: persistence 2019-07-24 15:12:04 +02:00
sys.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
ubinascii.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
uctypes.pyi core/typing: fix extmod docs and mocks 2019-07-09 14:05:14 +02:00
uio.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
uos.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
ustruct.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
utime.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
utimeq.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00