Skip to content
Snippets Groups Projects

feat(fatfs): implement de-initialization

Merged swym requested to merge swym/firmware:fs-deinit into master
  1. Aug 08, 2019
    • swym's avatar
      move files · 193e4def
      swym authored and rahix's avatar rahix committed
      193e4def
    • swym's avatar
      efs_lock_global: make signature more straight-forward · 8648f41d
      swym authored and rahix's avatar rahix committed
      8648f41d
    • swym's avatar
      cleanup(fatfs): undo formatting in libff's diskio.c, move private · 4e22cb10
      swym authored and rahix's avatar rahix committed
      implementation into epicardium/fs/
      4e22cb10
    • swym's avatar
      feat(fatfs): global FLASH lock · b2607d19
      swym authored and rahix's avatar rahix committed
      - 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
      b2607d19
Loading