1. 04 Oct, 2019 4 commits
  2. 03 Oct, 2019 1 commit
  3. 22 Sep, 2019 1 commit
    • Rahix's avatar
      hack(streams): Discard overflowing samples · d974cd2f
      Rahix authored
      As discussed in !316, this commit prevents I2C lockup by
      discarding overflowing samples instead of blocking until they have been
      read.  This is not ideal as the samples read will not be the most recent
      ones.  A deeper refactor of the sensor-stream internal API can fix this
      in the future.
      Cc: @flo_h
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
  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
  5. 16 Sep, 2019 1 commit
  6. 15 Sep, 2019 1 commit
    • Rahix's avatar
      feat(serial): Add serial_flush function · 86c8339e
      Rahix authored
      serial_flush() allows flushing the serial buffer from anywhere in
      - When run from thread mode it will flush to UART, CDC-ACM and BLE.
        This is similar to what the serial task would do once it is
      - When run inside an exception handler, it will only flush to UART
        because CDC-ACM and BLE cannot be flushed from an ISR.  Note that
        characters flushed this way will never appear on the other outputs,
        even if the serial task is scheduled at some point afterwards.
      The main use of this function is to ensure output of messages even in
      cases of critical failures.
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
  7. 14 Sep, 2019 6 commits
  8. 05 Sep, 2019 2 commits
  9. 31 Aug, 2019 5 commits
  10. 30 Aug, 2019 3 commits
  11. 28 Aug, 2019 2 commits
    • 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
    • swym's avatar
      feat(epicardium): GPIOs are configurable as ADC · 490ffdc3
      swym authored and Rahix's avatar Rahix committed
      closes #82
  12. 27 Aug, 2019 1 commit
  13. 26 Aug, 2019 1 commit
  14. 25 Aug, 2019 3 commits
  15. 24 Aug, 2019 8 commits