Skip to content
Snippets Groups Projects
  1. Oct 04, 2019
    • rahix's avatar
      fix(build): Fix module changes not getting picked up · d71a6cf8
      rahix authored
      
      Previously, we left out the dependency of the QSTR header on
      `modules.h`.  This was done to prevent rebuilds of the entire
      MicroPython sources whenever a Pycardium module is changed. This
      leads to issues where QSTRs got out of sync and weird errors like
      the following could happen:
      
          import foo_module
      
          Exception: No module `abc_def` (a different string than expected)
      
      Attempt to fix this by only updating the QSTR header when the
      module-header actually changes.  For this, a few workarounds are needed:
      
      - Replace symlinks with actual copied files so timestamps change on
        updates.
      - Add a hack so meson picks up on the dependency of the file in genhdr/
      - Rename the outer file so older meson versions don't complain about
        multiple targets with the same name.
      
      Co-authored-by: default avatardx <dequis@dequis.org>
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      d71a6cf8
    • rahix's avatar
      chore: Sort some lists in meson files · baa32f2a
      rahix authored
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      baa32f2a
  2. Sep 25, 2019
  3. Sep 22, 2019
  4. Sep 21, 2019
    • 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
    • swym's avatar
      feat(pycardium): Add ESB API · 4e4962d1
      swym authored and rahix's avatar rahix committed
      4e4962d1
  5. Sep 16, 2019
  6. Sep 14, 2019
  7. Sep 06, 2019
  8. Sep 05, 2019
  9. Sep 03, 2019
  10. Aug 31, 2019
  11. Aug 30, 2019
  12. Aug 29, 2019
  13. Aug 28, 2019
  14. Aug 27, 2019
  15. Aug 25, 2019
  16. Aug 24, 2019
  17. Aug 23, 2019
  18. Aug 22, 2019
Loading