micropython/ports/nrf/modules
Christian Walther 5e926b2222 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>
2024-03-26 15:21:01 +11:00
..
ble all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
board all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
machine nrf/modules/machine: Catch exceptions from pin interrupts. 2024-03-26 15:21:01 +11:00
music all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
nrf all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
os all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
scripts ports: Use vfs module instead of os. 2024-02-07 13:25:09 +11:00
ubluepy all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
manifest.py extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00