1. 12 Dec, 2019 9 commits
  2. 10 Dec, 2019 2 commits
  3. 09 Dec, 2019 7 commits
  4. 05 Dec, 2019 4 commits
  5. 04 Dec, 2019 6 commits
  6. 03 Dec, 2019 1 commit
  7. 02 Dec, 2019 2 commits
    • Damien George's avatar
      extmod/modbluetooth: Remove limit on data coming from gattc data input. · 8ce69288
      Damien George authored
      This removes the limit on data coming in from a BLE.gattc_read() request,
      or a notify with payload (coming in to a central).  In both cases the data
      coming in to the BLE callback is now limited only by the available data in
      the ringbuf, whereas before it was capped at (default hard coded) 20 bytes.
      8ce69288
    • Damien George's avatar
      extmod/modbluetooth: Simplify how BLE IRQ callback is scheduled. · d6e05108
      Damien George authored
      Instead of enqueue_irq() inspecting the ringbuf to decide whether to
      schedule the IRQ callback (if ringbuf is empty), maintain a flag that knows
      if the callback is on the schedule queue or not.  This saves about 150
      bytes of code (for stm32 builds), and simplifies all uses of enqueue_irq()
      and schedule_ringbuf().
      d6e05108
  8. 28 Nov, 2019 1 commit
  9. 27 Nov, 2019 3 commits
  10. 26 Nov, 2019 4 commits
  11. 25 Nov, 2019 1 commit
    • Léa Saviot's avatar
      py/qstr: Raise exception in qstr_from_strn if str to intern is too long. · bc129f1b
      Léa Saviot authored
      The string length being longer than the allowed qstr length can happen in
      many locations, for example in the parser with very long variable names.
      Without an explicit check that the length is within range (as done in this
      patch) the code would exhibit crashes and strange behaviour with truncated
      strings.
      bc129f1b