mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
Protect SerCom (UART, SPI, I2C) objects from getting freed by the GC when they go out of scope without being deinitialized. Otherwise the ISR of a Sercom may access an invalid data structure.