diff options
| author | Christian Walther <cwalther@gmx.ch> | 2024-01-05 16:17:55 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-03-26 15:21:01 +1100 |
| commit | 5e926b222259cb38db5c044b2f7656e2bdba2513 (patch) | |
| tree | 47c9984cc8052be7707d303c909b25c4ef4c5330 /py/objattrtuple.c | |
| parent | b10182bbcc0ee78ce5d12902bc8da68bdc4429c5 (diff) | |
nrf/modules/machine: Catch exceptions from pin interrupts.
Exceptions in pin interrupt handlers would end up crashing MicroPython with
a "FATAL: uncaught exception".
In addition, MicroPython would get stuck trying to output this error
message, or generally any print output from inside a pin interrupt handler,
through the UART after the first character, so that only "F" was visible.
The reason was a matching interrupt priority between the running pin
interrupt and the UARTE interrupt signaling completion of the output
operation. Fix that by increasing the UARTE interrupt priority.
Code taken from the stm32 port and adapted.
Signed-off-by: Christian Walther <cwalther@gmx.ch>
Diffstat (limited to 'py/objattrtuple.c')
0 files changed, 0 insertions, 0 deletions
