1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00
trezor-firmware/core/embed/extmod/modtrezorio
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
..
diskio.h core/embed: update fatfs to 0.14; use upstream version 2020-02-07 15:21:16 +00:00
ff_unifdef.sh core/embed: update fatfs to 0.14; use upstream version 2020-02-07 15:21:16 +00:00
ff.c core/embed: update fatfs to 0.14; use upstream version 2020-02-07 15:21:16 +00:00
ff.h core/embed: update fatfs to 0.14; use upstream version 2020-02-07 15:21:16 +00:00
ffconf.h core/embed: update fatfs to 0.14; use upstream version 2020-02-07 15:21:16 +00:00
ffunicode.c core/embed: update fatfs to 0.14; use upstream version 2020-02-07 15:21:16 +00:00
modtrezorio-fatfs.h core/fatfs: rework low-level FatFS API 2020-02-26 14:18:41 +01:00
modtrezorio-flash.h core/trezorio: move sdcard functions to a submodule 2020-02-20 12:51:48 +01:00
modtrezorio-hid.h core/trezorio: move sdcard functions to a submodule 2020-02-20 12:51:48 +01:00
modtrezorio-poll.h core/trezorio: move sdcard functions to a submodule 2020-02-20 12:51:48 +01:00
modtrezorio-sbu.h core/trezorio: move sdcard functions to a submodule 2020-02-20 12:51:48 +01:00
modtrezorio-sdcard.h core/fatfs: rework low-level FatFS API 2020-02-26 14:18:41 +01:00
modtrezorio-usb.h core/trezorio: move sdcard functions to a submodule 2020-02-20 12:51:48 +01:00
modtrezorio-vcp.h core/trezorio: move sdcard functions to a submodule 2020-02-20 12:51:48 +01:00
modtrezorio-webusb.h core/trezorio: move sdcard functions to a submodule 2020-02-20 12:51:48 +01:00
modtrezorio.c core/fatfs: rework low-level FatFS API 2020-02-26 14:18:41 +01:00