summaryrefslogtreecommitdiff
path: root/py/builtinevex.c
diff options
context:
space:
mode:
authorChristian Walther <cwalther@gmx.ch>2024-01-05 16:17:55 +0100
committerDamien George <damien@micropython.org>2024-03-26 15:21:01 +1100
commit5e926b222259cb38db5c044b2f7656e2bdba2513 (patch)
tree47c9984cc8052be7707d303c909b25c4ef4c5330 /py/builtinevex.c
parentb10182bbcc0ee78ce5d12902bc8da68bdc4429c5 (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/builtinevex.c')
0 files changed, 0 insertions, 0 deletions