1. 11 Jun, 2020 3 commits
    • Greyson Christoforo's avatar
      Introduce non compulsory Wire timeout · deea9293
      Greyson Christoforo authored
      move timout handling into its own function
      
      change timeout from milliseconds to microseconds
      
      don't forget operating slave address or the bitrate when we reset because of a timeout
      Co-Authored-By: default avatarWitold Markowski <witold.a.markowski@gmail.com>
      
      fix delay datatype uint16_t --> uint32_t
      
      Update libraries/Wire/src/utility/twi.c
      
      fix mix up using TWBR instea of TWAR!
      Co-Authored-By: default avatarMatthijs Kooijman <matthijs@stdin.nl>
      
      Update libraries/Wire/src/utility/twi.c
      
      fix 2nd TWBR/TWAR mixup
      Co-Authored-By: default avatarMatthijs Kooijman <matthijs@stdin.nl>
      
      twi_stop() should use the same timeout as everywhere else
      
      all while loops are now protected by timeouts
      
      Revert "twi_stop() should use the same timeout as everywhere else"
      
      This reverts commit 68fe5f1dae1bb41183bb37eeda3fb453394a580c.
      
      make timeout counter volatile
      
      rename timeout function for improved clarity
      
      - resetting the twi interface on timeouts is now optional
      - timeouts in the ISR are no longer hardcoded and now obey the set timeout value
      - a user-readable flag is now set whenever a timeout occurs
        - the user can clear this flag whenever they like
      deea9293
    • Martino Facchin's avatar
      Merge pull request #340 from eudoxos/header-new · 71c3f992
      Martino Facchin authored
      Add "new" proxy header for compatibility with c++-standard #include<new>
      71c3f992
    • Martino Facchin's avatar
      Merge pull request #335 from cmaglie/add-precomp-lib-support · 9568c630
      Martino Facchin authored
      Added precompiled library support
      9568c630
  2. 13 May, 2020 1 commit
  3. 04 May, 2020 1 commit
  4. 02 May, 2020 1 commit
  5. 28 Apr, 2020 1 commit
  6. 19 Mar, 2020 1 commit
  7. 18 Mar, 2020 1 commit
  8. 02 Dec, 2019 1 commit
  9. 25 Sep, 2019 1 commit
  10. 20 Sep, 2019 3 commits
  11. 19 Sep, 2019 1 commit
  12. 18 Sep, 2019 2 commits
  13. 16 Sep, 2019 15 commits
  14. 04 Sep, 2019 1 commit
  15. 16 Aug, 2019 1 commit
  16. 02 Aug, 2019 1 commit
  17. 29 Jul, 2019 1 commit
  18. 22 Jul, 2019 1 commit
  19. 08 Jun, 2019 1 commit
    • Matthijs Kooijman's avatar
      Do not claim AT-protocol in CDC interface descriptor · b237dcc8
      Matthijs Kooijman authored
      The CDC code presents itself as a virtual serial port. However, it also
      sets the "bFunctionProtocol" value to 1, which means it supports
      AT-commands, which is not actually the case. This might cause problems
      with some software, such as ModemManager.
      
      Originally, ModemManager would be very liberal with probing serial
      devices, using a blacklist to prevent probing non-modems such as
      Arduinos.
      
      Since version 1.7.990, it has supported a "strict" mode where it tries to be
      more restrained in what devices it probes. For CDC ACM devices, this
      means it will only probe devices that claim to support AT-commands.
      However, it also stopped applying the blacklist (intending to eventually
      remove the blacklist), meaning it would again probe Arduinos.
      
      This new strict policy is not the upstream default, but is enabled in
      Debian (since Buster) and Ubuntu (since bionic 18.04.2).
      
      The proper way to fix this, is to not claim AT comand support in the USB
      device descriptor, which is what this commit does. The Arduino will
      still show up as a virtual serial port, just not be probed by
      ModemManager in strict mode.
      
      For the commit that introduced the strict mode in ModemManager, see
      https://cgit.freedesktop.org/ModemManager/ModemManager/commit/src?id=ee570d44dc117dc69f23e83313dd877f76c5e3e0
      b237dcc8
  20. 16 May, 2019 1 commit
  21. 26 Apr, 2019 1 commit