Scott Shawcroft fece0fb432
Fix crash when UART construct fails
After the script stops with the exception thrown the final gc_sweep
will call any finalizers and they usually call deinit. deinit on
invalid objects can wreak havoc by changing random memory or
(hopefully) crashing. This fixes ensures the object is deinited
until initialization succeeds and the object is valid.

Do the same fix for I2C and SPI too.

Fixes #4700 and fixes #5005
2021-07-20 17:15:19 -07:00
..
2020-09-14 17:22:30 -05:00
2018-05-23 11:57:35 -07:00
2021-03-15 19:27:36 +05:30
2021-04-30 10:48:08 -05:00
2021-03-15 19:27:36 +05:30
2021-03-15 19:27:36 +05:30
2021-03-15 18:11:00 -05:00
2021-03-15 18:11:00 -05:00
2021-03-15 18:11:00 -05:00
2021-03-15 18:11:00 -05:00
2021-03-15 18:11:00 -05:00
2020-09-28 18:55:56 -05:00
2020-09-28 18:55:56 -05:00
2021-03-15 18:11:00 -05:00

SAMD21 and SAMD51
==================

This port supports many development boards that utilize SAMD21 and SAMD51 chips. See
https://circuitpython.org/downloads for all supported boards.


Building
--------

For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/


Debugging
---------

For debugging instructions see this guide: https://learn.adafruit.com/debugging-the-samd21-with-gdb


Port Specific modules
---------------------

.. toctree::
    ../../shared-bindings/samd/index