1. 22 Apr, 2022 3 commits
  2. 17 Apr, 2022 2 commits
  3. 16 Apr, 2022 1 commit
  4. 10 Apr, 2022 1 commit
  5. 09 Apr, 2022 1 commit
  6. 30 Mar, 2022 1 commit
  7. 29 Mar, 2022 1 commit
  8. 17 Mar, 2022 1 commit
  9. 16 Mar, 2022 2 commits
    • randomllama's avatar
    • Earle F. Philhower, III's avatar
      Avoid "chunkiness" of UART FIFO availability (#511) · 53043830
      Earle F. Philhower, III authored
      * Avoid "chunkiness" of UART FIFO availability
      
      The UART FIFO will generate an IRQ to transfer data into the SerialUART
      FIFOs either every 4 received bytes, or every 4 idle byte times.  This
      causes the ::available count to report "0" until either of those two
      cases happen, causing a potentially delay in data becoming available to
      the app.
      
      Change the code to pull data from the HW FIFO on a read/available/peek.
      Use a non-blocking mutex and IRQ disabling to safely empty the FIFO from
      user space.  The mutex added to the IRQ is non-blocking and will be
      a single CAS the vast majority of the time, so it should not impact the
      Serial performance.
      
      Fixes #464 and others where `setPollingMode()` was needed as a workaround.
      
      Make sure we have all mutexes locked before we disable the port and free
      the queue to avoid evil cases.
      
      Only init the mutexes once, on object creation.
      
      In polled mode, don't bother acquiring/releasing the fifo mutex.
      
      When begin() is called on an already running port, call end() to clean
      up the old data/etc. before making a new queue/config.  This avoids a
      memory leak and potential write-after-free case.
      53043830
  10. 14 Mar, 2022 1 commit
  11. 06 Mar, 2022 1 commit
  12. 05 Mar, 2022 1 commit
  13. 24 Feb, 2022 3 commits
  14. 23 Feb, 2022 2 commits
  15. 22 Feb, 2022 1 commit
  16. 20 Feb, 2022 4 commits
  17. 19 Feb, 2022 2 commits
  18. 15 Feb, 2022 1 commit
  19. 13 Feb, 2022 1 commit
  20. 12 Feb, 2022 2 commits
    • Earle F. Philhower, III's avatar
      Bump to 1.11.0 · f2fd654b
      Earle F. Philhower, III authored
      f2fd654b
    • Earle F. Philhower, III's avatar
      Update GDB and OpenOCD to work together, finally (#482) · 1b61a866
      Earle F. Philhower, III authored
      GDB for non-Linux systems was built w/o expat which caused odd behavior
      under Windows and other systems (i.e. breakpoints not working, etc.)
      New toolchain manually builds cross-compiled libexpat and ensures it is
      used, fixing the issue.
      
      Windows OpenOCD binaries now come from manually built and tested copies
      (using a real Windows system).
      
      Fixes #478
      Fixes #457
      Fixes #456
      and probably others...
      1b61a866
  21. 10 Feb, 2022 2 commits
  22. 08 Feb, 2022 2 commits
    • Earle F. Philhower, III's avatar
      Decrease size of used FIFO in SerialUART (#471) · ba92377e
      Earle F. Philhower, III authored
      Fixes #468
      
      The FIFO limit was set to 1/2, or 16 bytes on POR and not set by the core,
      so for low baud this could result in a LONG time without data moving from
      hardware FIFO to the SW ring buffer and timeouts/etc.
      
      Now use the API call which sets it to 1/8, or 4 bytes of data to speed up
      the transfer 4x.
      
      Also avoid using the divider in the IRQ routine because it is not clear
      from the docs of the Pico SDK IRQ callback routine preserves divider
      state or not.  If not, doing division in an IRQ could result in random
      data corruption in the main app.
      
      Add memory barriers to ensure the order of data into RAM is preserved
      and that GCC doesn't reorder writes.
      ba92377e
    • gsexton's avatar
      Fix OpenSUSE upload, make mount point fionding more robust (#467) · acbe190a
      gsexton authored
      Change order of tests to favor /run/media over /media. Parse output of udiskctl mount to find mount path
      acbe190a
  23. 07 Feb, 2022 1 commit
  24. 05 Feb, 2022 2 commits
  25. 03 Feb, 2022 1 commit