Skip to content
Snippets Groups Projects
  1. Aug 19, 2015
  2. Aug 14, 2015
  3. Aug 13, 2015
  4. Aug 11, 2015
  5. Aug 10, 2015
  6. Jul 25, 2015
    • Erin Tomson's avatar
      Fix two bugs that can cause deadlock conditions when i2c bus errors occur. · 0bfeec7f
      Erin Tomson authored
      The first occurs when starting a read transaction from a slave that doesn't respond. The code would wait until the SB (slave on bus) bit is set in the INTFLAGS register, but when a nack occurs that never happens so we're stuck in an infinite loop. The fix is to also look for the MB flag to be set. If it is, issue a stop condition and return.
      
      The second happens when a bus error (ie, an illegal stop condition) occurs while sending data as a master. In that case we are waiting for the MB (master on bus) flag to be set. When a bus error occurs that never happens, so again we end up in an infinite loop. The fix here is to also look for the BUSERR flag to be set. If it is, return an error condition.
      0bfeec7f
  7. Jul 23, 2015
  8. Jul 21, 2015
  9. Jul 18, 2015
  10. Jul 17, 2015
    • Cristian Maglie's avatar
      Merge branch 'cxx11' · 728d723e
      Cristian Maglie authored
      728d723e
    • Cristian Maglie's avatar
      8ebc4be2
    • Cristian Maglie's avatar
      Enable C11/C++11 · 1f09fc96
      Cristian Maglie authored
      See https://github.com/arduino/Arduino/pull/2175
      
      Quoting the original commits from Matthijs Kooijman:
      
          Enable C++11 support
      
          This uses the gnu++11 standard, which is C++11 with GNU extensions.
          C++11 should be full compatible with the previously used C++98
          standards, so all pre-existing sketches should continue to work.
      
          Enable C11 support
      
          This uses the gnu11 standard, which is C11 with GNU extensions.
          Previously, gnu89 was being used, which is pretty ancient by now. C99
          brings some important improvements, some of which were already available
          and used even without this option. C11 is more recent and brings more
          minor improvements. Most notable feature is the static_assert statement,
          allowing checking invariants at compiletime using the full C
          expressions.
      1f09fc96
  11. Jul 06, 2015
  12. Jul 05, 2015
    • Cristian Maglie's avatar
      Uart: fix acknowledge of UART errors · 49fe4380
      Cristian Maglie authored
      This fix lock-ups on UART errors (for example when disconnecting
      and reconnecting RX/TX wires or if the method Serial.begin is
      called while another device is already transmitting).
      49fe4380
  13. Jul 03, 2015
  14. Jul 01, 2015
  15. Jun 29, 2015
  16. Jun 26, 2015
  17. Jun 24, 2015
  18. Jun 23, 2015
  19. Jun 19, 2015
Loading