Scott Shawcroft 52bc935fa7
A few minor fixes for corner cases
* Always clear the peripheral interrupt so we don't hang when full
* Store the ringbuf in the object so it gets collected when we're alive
* Make UART objects have a finaliser so they are deinit when their
  memory is freed
* Copy bytes into the ringbuf from the FIFO after we read to ensure
  the interrupt is enabled ASAP
* Copy bytes into the ringbuf from the FIFO before measuring our
  rx available because the interrupt is based on a threshold (not
  > 0). For example, a single byte won't trigger an interrupt.
2021-02-25 16:50:57 -08:00
..
2021-01-20 19:16:56 -08:00
2021-01-20 19:16:56 -08:00
2021-01-20 19:16:56 -08:00
2021-01-20 19:16:56 -08:00
2021-01-20 19:16:56 -08:00
2021-02-25 16:50:57 -08:00
2021-02-25 16:50:57 -08:00