1. 17 Oct, 2020 1 commit
  2. 14 Sep, 2020 2 commits
  3. 20 Jan, 2020 1 commit
  4. 28 Aug, 2019 1 commit
    • swym's avatar
      feat(epicardium): read card10.cfg · f1d63669
      swym authored and Rahix's avatar Rahix committed
      Adds simple config parser along with config_ API that:
      
      - supports default values for options
      - allows typed querying of config values
      - types supported: boolean, integer, floating point and string
      
      unknown options are ignored and LOG_WARNed on the console
      f1d63669
  5. 24 Aug, 2019 1 commit
    • swym's avatar
      feat(epicardium): Add ESB module · 9b0fd54f
      swym authored and Rahix's avatar Rahix committed
      usb/epc_usb
      ====
      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.
      
      modules/usb
      ====
      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
      it.
      9b0fd54f
  6. 22 Aug, 2019 2 commits
  7. 15 Aug, 2019 2 commits
    • Rahix's avatar
      feat(epicardium): Implement basic core 1 lifecycle · 3b9393fe
      Rahix authored
      
      
      This commit introduces a way to control core 1.  This is archieved by a
      predefined API-Interrupt:  The reset interrupt.  When triggered, it will
      bring the core back into its default state and wait for a new vector
      address from Epicardium.  Once this vector address is transferred, it
      will start the new payload.
      
      This method only works as long as core 1 is responsive to the API
      interrupts.  Cases where this might not be the case:
      
        - During times where core 1 has interrupts disabled
        - When in a higher priority exception handler
        - When core 1 has corrupted its IVT
      
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      3b9393fe
    • Rahix's avatar
      feat(epicardium): Display all output on CDC-ACM · 69775a15
      Rahix authored
      
      
      Closes #67
      
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      69775a15
  8. 14 Aug, 2019 1 commit
    • Rahix's avatar
      feat: Include version in binaries · f3830f3c
      Rahix authored
      
      
      This commit adds a script to embed the git-version of the firmware into
      the bootloader, epicardium, and pycardium.  All three binaries will
      display their version on startup.
      
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      f3830f3c
  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
      6d1686e0
  10. 06 Aug, 2019 4 commits
  11. 29 Jul, 2019 1 commit
  12. 25 Jul, 2019 1 commit
  13. 20 Jul, 2019 1 commit
  14. 16 Jul, 2019 1 commit
  15. 15 Jul, 2019 1 commit
    • swym's avatar
      libff13: enable reentrancy · d028fa6b
      swym authored
      glue functions for handling the locking are implement as weak symbols in
      libff13 itself and overriden to use FreeRTOS's semaphores in epicardium
      d028fa6b
  16. 06 Jul, 2019 1 commit
  17. 05 Jul, 2019 3 commits
  18. 04 Jul, 2019 1 commit
  19. 03 Jul, 2019 1 commit
  20. 21 Jun, 2019 1 commit
  21. 20 Jun, 2019 3 commits
  22. 18 Jun, 2019 1 commit
  23. 16 Jun, 2019 1 commit
  24. 15 Jun, 2019 1 commit
  25. 10 Jun, 2019 2 commits
  26. 08 Jun, 2019 2 commits