From 05e684dc0717b27ba52eeac7c480ebb6aa032fac Mon Sep 17 00:00:00 2001 From: robert-hh Date: Thu, 30 Mar 2023 16:07:35 +0200 Subject: [PATCH] samd/mcu/samd51: Enable MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF. Signed-off-by: robert-hh --- ports/samd/mcu/samd51/mpconfigmcu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/samd/mcu/samd51/mpconfigmcu.h b/ports/samd/mcu/samd51/mpconfigmcu.h index 5ac431b297..0598c353d6 100644 --- a/ports/samd/mcu/samd51/mpconfigmcu.h +++ b/ports/samd/mcu/samd51/mpconfigmcu.h @@ -7,6 +7,9 @@ #define MICROPY_EMIT_THUMB (1) #define MICROPY_EMIT_INLINE_THUMB (1) +// Python internal features +#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1) + #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) #ifndef MICROPY_PY_BUILTINS_COMPLEX