summaryrefslogtreecommitdiff
path: root/py/makeversionhdr.py
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-10-13 19:04:37 +0200
committerDamien George <damien@micropython.org>2022-10-25 23:48:37 +1100
commita1eebc507eda8f5ec052d0ef0450c52f2320e106 (patch)
treef71dc0b99ad95602fadbb2816b1cd074f4032227 /py/makeversionhdr.py
parentd74215a3137da5e9001aed92c8c1b06d828ff9d2 (diff)
samd/machine_spi: Register SerCom objects as root pointers.
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.
Diffstat (limited to 'py/makeversionhdr.py')
0 files changed, 0 insertions, 0 deletions