kopia lustrzana https://github.com/micropython/micropython
5e926b2222
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> |
||
---|---|---|
.. | ||
adc.c | ||
adc.h | ||
i2c.c | ||
i2c.h | ||
modmachine.c | ||
modmachine.h | ||
pin.c | ||
pin.h | ||
pwm.c | ||
pwm.h | ||
rtcounter.c | ||
rtcounter.h | ||
soft_pwm.c | ||
spi.c | ||
spi.h | ||
temp.c | ||
temp.h | ||
timer.c | ||
timer.h | ||
uart.c | ||
uart.h |