1. 03 Jan, 2022 2 commits
    • per1234's avatar
      Use more logical Boards menu placement for Uno Mini · 5259cff7
      per1234 authored
      Arduino has added a new board to the AVR-based line: the Uno Mini. The Uno Mini has its own board definition in this
      platform, which produces a dedicated item in the **Tools > Board** menu of the Arduino IDE.
      
      The classic Arduino IDE arranges the Boards menu for each platform according to the order of occurrence of the board
      definition in the platform's boards.txt configuration file. The previous placement of the Uno Mini board definition
      resulted in the board appearing at the end of the menu, along with retired and 3rd party boards.
      
      The new placement will cause it to be shown alongside the related Arduino Uno and in a position befitting the latest
      official AVR board.
      5259cff7
    • per1234's avatar
      Merge pull request #448 from per1234/add-unomini-ci · 6690a38f
      per1234 authored
      Add unomini to sketch compilation CI workflow
      6690a38f
  2. 01 Jan, 2022 1 commit
    • per1234's avatar
      Add unomini to sketch compilation CI workflow · 8ef856f7
      per1234 authored
      The "Compile Examples" GitHub Actions workflow provides a basic "smoke test" for the platform by compiling the relevant example sketches for each of the boards on every commit and pull request.
      
      A new board has been added to the platform (Uno Mini) and so should be added to the list of boards compiled for in this workflow.
      
      Even though the Uno compilation does provide reasonable coverage for the Uno Mini due to their similar configurations, that coverage does not extend to the board definition itself.
      8ef856f7
  3. 27 Dec, 2021 1 commit
  4. 22 Dec, 2021 1 commit
  5. 17 Dec, 2021 1 commit
  6. 16 Dec, 2021 2 commits
  7. 01 Dec, 2021 1 commit
  8. 30 Nov, 2021 1 commit
  9. 23 Nov, 2021 3 commits
  10. 17 Nov, 2021 1 commit
  11. 18 Oct, 2021 1 commit
  12. 14 Oct, 2021 1 commit
  13. 01 Oct, 2021 1 commit
  14. 08 Sep, 2021 1 commit
  15. 30 Jun, 2021 1 commit
    • per1234's avatar
      Don't use codespell's "rare" dictionary for CI spell check · 4899e506
      per1234 authored
      The word "statics" was recently added to codespell's "rare" commonly mispelled words directory. By default, this
      dictionary is used in addition to the more conservative "clear" dictionary, resulting in a spurious failure of the
      "Spell Check" CI workflow.
      
      Although this could be fixed by adding the word to the ignore list, it seems that an increasing number of common words
      being added to this dictionary, so I think it's best to just remove it altogether. The goal for the "Spell Check"
      workflow is to catch some typos without a significant number of false positives, even if that means some misspellings
      slip through. I think the "clear" dictionary is more in line with that goal.
      4899e506
  16. 26 May, 2021 9 commits
  17. 25 May, 2021 1 commit
  18. 25 Feb, 2021 1 commit
    • ArkadyGamza's avatar
      Declare TwoWire functions as virtual · 4b35c440
      ArkadyGamza authored
      To make alternative implementations of the TwoWire class (e.g. SoftwareWire for software I2C) work properly being passed to libraries that expect TwoWire type.
      4b35c440
  19. 12 Jan, 2021 1 commit
  20. 09 Jan, 2021 1 commit
  21. 06 Jan, 2021 1 commit
  22. 02 Nov, 2020 3 commits
  23. 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
  24. 15 Oct, 2020 1 commit
  25. 17 Sep, 2020 2 commits
    • Matthijs Kooijman's avatar
      Use std::size_t in new/delete · 6d292502
      Matthijs Kooijman authored
      The standard dictates that `std::size_t` is used, rather than the plain
      `size_t` type.
      
      Even though these types are usually, if not always, exactly the same
      type, other code might assume that `std::size_t` is actually used and thus
      also available under that name after including `<new>`.
      
      This fixes that by using the right type. One challenge is that it is
      usually declared in headers that we do not have available, so this just
      defines the `std::size_t` type in the `<new>` header to work around
      that.
      6d292502
    • Matthijs Kooijman's avatar
      Optionally let new terminate on allocation failure · 1a885ce8
      Matthijs Kooijman authored
      This is currently disabled, keeping the old behavior of returning
      NULL on failure, but should probably be enabled in the future as code
      that does want to do a null check has had a chance to switch to the
      more portable nothrow versions.
      
      When enabled, allocation failure calls the weak `std::terminate()`,
      which calls `abort()` by default, but can be replaced by user code to do
      more specific handling.
      
      To enable this, a macro must be defined (in new.cpp or on the compiler
      commandline).
      
      This fixes part of #287.
      1a885ce8