1. 21 May, 2020 1 commit
  2. 20 Jan, 2020 2 commits
  3. 03 Nov, 2019 1 commit
    • Rahix's avatar
      chore(fatfs): Port to new mutex API · 86c7418a
      Rahix authored
      Using a bare FreeRTOS mutex is deprecated.  Replace it with the new
      `struct mutex`.  This should increase stability of the module.  In the
      process of switching, also remove the `EPIC_FAT_STATIC_SEMAPHORE` define
      as it is no longer needed with the new mutex API.
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
  4. 24 Aug, 2019 1 commit
    • swym's avatar
      feat(epicardium): Add ESB module · 9b0fd54f
      swym authored and Rahix's avatar Rahix committed
      Contains device-independent USB implementation, services MAXUSB stack
      and is given the actual USB descriptors & callbacks on initialization.
      Handles USB events and configures/deconfigures the device accordingly
      during the USB setup procedure.
      usb/mass_storage & cdcacm
      Contain device-specific implementations, service MAXUSB's device class
      APIs for cdcacm and mass storage.
      Here, mass storage is independent of the underlying storage device.
      Public apic_usb API, configuration and storage device management.
      Defines the actual USB device descriptors and services the upc_usb API.
      If we want to add SD card functionality, this would be the place to add
  5. 22 Aug, 2019 1 commit
  6. 20 Aug, 2019 2 commits
  7. 16 Aug, 2019 1 commit
    • swym's avatar
      feat(fatfs): Implement opendir, readdir & unlink · d0b7f792
      swym authored and Rahix's avatar Rahix committed
      This commit adds 3 new API calls
      - epic_file_opendir()
      - epic_file_readdir()
      - epic_file_unlink()
      and 2 new functions in Pycardium
      - os.listdir()
      - os.unlink()
  8. 13 Aug, 2019 1 commit
  9. 09 Aug, 2019 1 commit
    • swym's avatar
      feat(fatfs): Implement global FLASH lock · 6d1686e0
      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