1. 01 Nov, 2020 1 commit
    • Vitaly Shmagun's avatar
      Improve reading ADC result · 4fd3801e
      Vitaly Shmagun authored
      7.3.0-atmel3.6.1-arduino7 gcc fails to optimize separate reading from ADCL and ADCH. It produces additionally three eor commands or in some cases two mov commands in the assembly code (see discussion #344). These commands swap register contents before store them to data area. So they are completely unnecessary. Reading ADC result with ADC macro fixes it and gcc generates the right code..
      4fd3801e
  2. 04 May, 2020 1 commit
  3. 02 May, 2020 1 commit
  4. 19 Mar, 2020 1 commit
  5. 18 Mar, 2020 1 commit
  6. 02 Dec, 2019 1 commit
  7. 25 Sep, 2019 1 commit
  8. 20 Sep, 2019 3 commits
  9. 19 Sep, 2019 1 commit
  10. 18 Sep, 2019 2 commits
  11. 16 Sep, 2019 15 commits
  12. 04 Sep, 2019 1 commit
  13. 16 Aug, 2019 1 commit
  14. 02 Aug, 2019 1 commit
  15. 29 Jul, 2019 1 commit
  16. 22 Jul, 2019 1 commit
  17. 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
  18. 16 May, 2019 1 commit
  19. 26 Apr, 2019 2 commits
  20. 17 Feb, 2019 1 commit
  21. 22 Jan, 2019 1 commit
    • Paul R. Nash's avatar
      Add parameters names to common prototypes · 8f752bf8
      Paul R. Nash authored
      Putting the parameter names in these commonly used prototypes makes syntax help like VS Code's Intellisense work 99% more useful. Without them, it doesn't give you the names of the parameters and you have to remember the semantics yourself. :(
      8f752bf8
  22. 07 Jan, 2019 1 commit