Skip to content
Snippets Groups Projects
Commit 38a030dd authored by swym's avatar swym
Browse files

feat(fatfs): global FLASH lock

- implement de-initialization
- wrap filesystem operations in semaphore

- Introduce EpicFileSystem object and move epic_file_FOO(...) imlementations into
  efs_FOO(EpicFileSystem*, ...) functions.
- epic_file_FOO(...) functions are now wrappers around the _fs_ functions, but lock and unlock the global filesystem object before&after calls.
  This way, all efs_ functions can assume that the necessary lock has been acquired.
- libff: don't use FF_FS_REENTRANT, our own FS lock is enough
parent bb4ad001
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment