Skip to content
Snippets Groups Projects
  1. Aug 21, 2019
    • rahix's avatar
      fix(rtc): Call RTC_EnableRTCE after RTC_Init · 65d9d270
      rahix authored
      
      RTC_Init will turn off the RTC and readout will not be possible until
      RTC_EnableRTCE is called.  The previous version worked because the
      bootloader would call RTC_Init and Epicardium would then call
      RTC_EnableRTCE.
      
      This broke with the hardware-init changes in
      
          b76ac8fc
      
      and lead to behavior where cold boot would not enable the RTC.  This
      commit switches the order of the two calls in the bootloader so it is
      always initialized correctly.  Because some older bootloaders are
      already out in the field, this commit also introduces basic rtc init
      into Epicardium so the new firmware can work correctly with older
      bootloaders.
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      Verified
      65d9d270
  2. Aug 20, 2019
  3. Aug 19, 2019
  4. Aug 17, 2019
  5. Aug 15, 2019
  6. Aug 14, 2019
  7. Aug 12, 2019
  8. Aug 10, 2019
  9. Aug 09, 2019
    • 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. Aug 07, 2019
  11. Aug 06, 2019
  12. Aug 05, 2019
  13. Aug 04, 2019
  14. Aug 03, 2019
  15. Jul 31, 2019
  16. Jul 29, 2019
Loading