Skip to content
Snippets Groups Projects
  1. Oct 13, 2020
  2. Oct 08, 2020
  3. Sep 14, 2020
  4. Sep 07, 2020
  5. Sep 06, 2020
  6. Jul 18, 2020
  7. Jun 25, 2020
  8. Jun 15, 2020
  9. Jun 14, 2020
  10. May 21, 2020
  11. Apr 26, 2020
  12. Apr 08, 2020
  13. Apr 06, 2020
  14. Apr 03, 2020
  15. Mar 16, 2020
  16. Jan 31, 2020
  17. Jan 03, 2020
  18. Dec 09, 2019
  19. Dec 06, 2019
  20. Nov 19, 2019
  21. Nov 13, 2019
    • 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: default avatarRahix <rahix@rahix.de>
      Verified
      8926fd02
    • fgross's avatar
      feat(pycardium): Enable framebuf module · c27f3fcc
      fgross authored and rahix's avatar rahix committed
      The framebuf module provides a framebuffer implementation running purely
      in MicroPython which will increase drawing performance by a lot.  A
      follow-up change will be necessary to connect this framebuffer
      implementation to the display API.
      
      This commit is implements a part of MR !211.
      c27f3fcc
    • rahix's avatar
      fix(pycardium): Fix delay implementation · dbeec980
      rahix authored
      
      Rewrite the delay implementation to be more accurate and properly handle
      incoming MicroPython interrupts (See issue #177).
      
      For this, the delay is split into two functions:
      
      - systick_delay_precise(): Delay with microsecond accuracy for delays
            less than 1 ms.
      - systick_delay_sleep(): Sleep for a potentially very long time, using
            WFI to put the CPU to sleep.  Whenever the CPU wakes up, this
            function will poll the MicroPython scheduler so it can execute
            pending interrupts.
      
      Ontop, this implementation allows for a future, fast, tick-based
      monotonic time implementation (e.g. mp_hal_ticks_ms).
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      Verified
      dbeec980
  22. Nov 11, 2019
  23. Nov 10, 2019
  24. Nov 09, 2019
  25. Oct 05, 2019
Loading