summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2023-03-30 16:07:35 +0200
committerDamien George <damien@micropython.org>2023-05-22 18:37:11 +1000
commit05e684dc0717b27ba52eeac7c480ebb6aa032fac (patch)
tree1fa5b457ae5fd3dc8f02694dbc0371a1e82e350a
parent315eb949da3bb3fe476050e164f03b613ca64afa (diff)
samd/mcu/samd51: Enable MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF.
Signed-off-by: robert-hh <robert@hammelrath.com>
-rw-r--r--ports/samd/mcu/samd51/mpconfigmcu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/samd/mcu/samd51/mpconfigmcu.h b/ports/samd/mcu/samd51/mpconfigmcu.h
index 5ac431b29..0598c353d 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