1. 13 Nov, 2019 1 commit
    • Rahix's avatar
      feat(utime): Implement ticks_ms() and ticks_us() · 8926fd02
      Rahix authored
      
      
      Implement the hal functions necessary for utime.ticks_ms() and
      utime.ticks_us().  This enables much more accurate measurements of time
      taken in Pycardium (useful for profiling).
      
      Please note that the tick counter will reset whenever a new app is
      loaded.
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      8926fd02
  2. 10 Nov, 2019 1 commit
  3. 25 Sep, 2019 1 commit
  4. 21 Sep, 2019 1 commit
    • Ferdinand Bachmann's avatar
      feat(rtc): Add monotonic clock · f1251d66
      Ferdinand Bachmann authored and Rahix's avatar Rahix committed
      Squashed commits:
      
      e94f7bf9 epicardium/rtc: add monotonic time
      e0691c6d pycardium/modules/utime.c: add bindings for monotonic time
      756c13df epicardium/rtc: fix numerically unstable subsecond decoding
      
               the subsecond encoding function from epic_rtc_set_milliseconds
               and the corresponding decoding function from
               epic_rtc_get_milliseconds are not numerically stable.
      
               i.e., encoding 5 milliseconds to 20 subsecs and immediately
               afterwards decoding that yields 4 milliseconds.
      
               Adding a bias of 999 (0.24 milliseconds) to the decoding
               function makes it numerically stable, while never decoding any
               subsecond value to more than 999 milliseconds.
      
      e99e278b epicardium/rtc: only poll time once for calculating monotonic_offset
      18936b7e pycardium/modules/utime.c: run clang-format
      869ac617 epicardium/rtc: add explanation comment for numerically stable subsecond decode
      f1251d66
  5. 31 Aug, 2019 1 commit
  6. 30 Aug, 2019 1 commit
  7. 22 Aug, 2019 5 commits
  8. 21 Aug, 2019 3 commits
  9. 01 Aug, 2019 1 commit
  10. 29 Jul, 2019 3 commits
  11. 25 Jul, 2019 1 commit
  12. 19 Jul, 2019 1 commit
  13. 06 Jul, 2019 1 commit
  14. 28 Jun, 2019 1 commit
  15. 18 Jun, 2019 1 commit